tensorly.tt_matrix.tt_matrix_to_tensor

tt_matrix_to_tensor(tt_matrix)[source]

Returns the full tensor whose TT-Matrix decomposition is given by ‘factors’

Re-assembles ‘factors’, which represent a tensor in TT-Matrix format into the corresponding full tensor

Parameters:
factors: list of 4D-arrays

TT-Matrix factors (known as core) of shape (rank_k, left_dim_k, right_dim_k, rank_{k+1})

Returns:
output_tensor: ndarray

tensor whose TT-Matrix decomposition was given by ‘factors’