Learn Before
Programmatic Representation of Matrices
In deep learning frameworks, a mathematical matrix is programmatically implemented as a -order tensor possessing a shape of . You can dynamically construct a matrix from an existing appropriately sized tensor by utilizing the reshape function (e.g., .reshape(m, n)). This operation reorganizes the sequential data into the specified row and column dimensions, allowing a generic one-dimensional tensor of elements to be explicitly cast into a valid matrix structure without altering the underlying numerical values.
0
1
Tags
D2L
Dive into Deep Learning @ D2L
Related
Augmented Matrix for a System of Equations
Determinant of a Square Matrix
Determinant of a Matrix
Example: Evaluating the Determinant of a Matrix
Practice: Evaluating the Determinant of a Matrix
Order of a Matrix
Tensor
k-th Order Tensor (Axes/Dimensions)
Typographical Conventions for Matrices
Programmatic Representation of Matrices
Dataset Representation using Matrices
Element of a Matrix
Matrix Representation via Row Vectors
Tensor Element Summation
Matrix Representation via Column Vectors
Matrix Decomposition
Programmatic Representation of Matrices
Matrix Element Subscript Notation
Square Matrix