Learn Before
Broadcasting Mechanism
When performing elementwise binary operations on two tensors that do not share the same shape, deep learning frameworks utilize a broadcasting mechanism to make their dimensions compatible. This procedure involves two sequential steps: first, it expands one or both tensors by replicating their elements along any axis with a length of so that both tensors acquire identical shapes. Second, the framework executes the desired elementwise operation on these newly expanded, uniformly shaped tensors.
0
1
Contributors are:
Who are from:
Tags
Data Science
D2L
Dive into Deep Learning @ D2L
Related
Linear Algebra with Applications
Linear Algebra - Matrices
Transpose
Matrix Multiplication
Moore-Penrose Pseudoinverse
Using the Moore-Penrose Pseudoinverse to Solve Linear Equations
Linear Algebra (Trace)
Linear Algebra (Determinant)
Linear Algebra - Diagonal Matrices
Linear Algebra - Unit Vector
Linear Algebra - orthogonal
Linear Algebra - orthonormal
Linear Algebra - orthogonal matrix
Linear Algebra - eigenvector
Linear Algebra - eigenvalue
Linear Algebra - eigendecomposition
Singular value decomposition (SVD)
Linear Algebra - Dot Product and Multiplication Rules
Linear Algebra - Identity and Inverse Matrices
Linear dependence and span
Linear Algebra - Norm
Standard Basis Vector
Notation for a Tuple of Identical Elements
Memory State as an Average of Keys and Values
Notation for a Sequence of Variables
Tensor
Matrix
Element-wise Product
Broadcasting Mechanism
Vector
Scalars
Symmetric Matrix
Broadcasting Mechanism