Classes for different tensor representations
This class describes multidimensional data. |
|
Representation of a tensor in the Kruskal form (CPD). |
|
Representation of a tensor in the Tucker form (TKD). |
|
Representation of a tensor in the Tensor Train form (TT). |
Functions and operations for tensor algebra
Credit to Jean Kossaifi.
Unfolds N-dimensional array into a 2D array. |
|
Fold a 2D array into a N-dimensional array. |
|
Unfolds N-dimensional array into a 2D array. |
|
Fold a 2D array into a N-dimensional array. |
|
Mode-n product of a N-dimensional array with a matrix. |
|
Kronecker product of a list of matrices. |
|
Hadamard product of a list of matrices. |
|
Khatri-Rao product of a list of matrices. |
|
Sampled Khatri-Rao product of a list of matrices. |