T3Tangent.to_dense#

t3toolbox.manifold.T3Tangent.to_dense(include_shift=False)#
def to_dense(
        self,
        include_shift:  bool = False,  # False: tangent vector v. True: base point + v.
) -> NDArray:  # shape=stack_shape+(N0,...,N(d-1))

Form the dense tensor represented by this tangent vector.

The tangent vector is the sum of the 2d single-core-replacement terms (one per Tucker hole and one per TT hole). With include_shift=True, the base point is added (base point + v).

Parameters:

include_shift (bool)

Return type:

NDArray