tensorly.tt_matrix
.tt_matrix_to_unfolded
- tt_matrix_to_unfolded(tt_matrix, mode)[source]
Returns the unfolding matrix of a tensor given in TT-Matrix format
Reassembles a full tensor from ‘factors’ and returns its unfolding matrix with mode given by ‘mode’
- Parameters:
- factorslist of 3D-arrays
TT-Matrix factors
- modeint
unfolding matrix to be computed along this mode
- Returns:
- 2-D array
- unfolding matrix at mode given by ‘mode’