tensor / outer / Kronecker product
Say it “a tensor b”
Combines two vectors into a matrix of all pairwise products (outer product), or two matrices into a bigger block matrix (Kronecker).
Example
For vectors, this is the outer product.
In code
np.outer(a, b) # vectors: outer product
np.kron(A, B) # matrices: Kronecker producttorch.outer(a, b)Where you’ll see it in ML
Low-rank updates, second-order optimizers (K-FAC, Shampoo).