loading page

Tensor multiplication explained in code and diagram
  • Kaiyin Zhong
Kaiyin Zhong
Author Profile


A tensor is just a multidimensional matrix/array. Multiplication of tensors is generalization of matrix multiplication. In this post I wrote down some experiments to clarify how this works and visualize it with some easy-to-understand diagrams. I will dicuss the process in 4 cases and use a concrete example to illustrate.