tucker_to_unfolded(tucker_tensor, mode=0, skip_factor=None, transpose_factors=False)[source]

Converts the Tucker decomposition into an unfolded tensor (i.e. a matrix)

tucker_tensortl.TuckerTensor or (core, factors)

core tensor and list of factor matrices

modeNone or int list, optional, default is None
skip_factorNone or int, optional, default is None

if not None, index of a matrix to skip Note that in any case, modes, if provided, should have a length of tensor.ndim

transpose_factorsbool, optional, default is False

if True, the matrices or vectors in in the list are transposed


unfolded tensor