AI engineering glossary · Linear algebra

What is dense matrix?

Dense matrix: A matrix stored as a full grid, where every entry is kept explicitly whether or not it is zero. It suits data with mostly non-zero values, such as neural network weights, and works well with GPU hardware.

Level: beginnerTopic: Linear algebra

Dense matrix: an example

A 1024 x 1024 weight matrix is stored as 1,048,576 numbers regardless of their values.

Related terms

More Linear algebra terms

Where you learn it

Dense matrix is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.