Vectors
A vector is an ordered list of numbers1.
Vectors can also be thought of as points in n-dimensional space, which is useful for understanding embeddings. ↩
. In deep learning, vectors represent data points, features, and model parameters.Matrices
A matrix is a 2D array of numbers. Weight matrices are core to neural networks.
Matrix Multiplication
The dot product of two matrices and produces :
This operation is the backbone of forward passes in neural networks2.
GPUs are specifically designed to perform thousands of matrix multiplications in parallel, which is why they’re so important for deep learning. ↩
. Understanding matrix multiplication is essential before moving on to automatic differentiation.