t3_unstack#

t3toolbox.backend.t3_operations.t3_unstack(x)#
def t3_unstack(
        x: typ.Tuple[typ.Sequence[NDArray], typ.Sequence[NDArray]],  # (tucker_cores, tt_cores), stacked
):  # -> array-like structure of nested tuples containing Tucker tensor trains (shape = stack_shape)

Given multiple stacked T3s, this unstacks them into an array-like structure of nested tuples with the same “shape” as the stacking shape.

Parameters:

x (t3toolbox.backend.common.typ.Tuple[t3toolbox.backend.common.typ.Sequence[NDArray], t3toolbox.backend.common.typ.Sequence[NDArray]])