ut3_ones#

t3toolbox.backend.ut3_constructors.ut3_ones(shape, stack_shape=(), use_jax=False)#
def ut3_ones(
        shape:        typ.Sequence[int],               # (N0,...,N(d-1))
        stack_shape:  typ.Tuple[int, ...] = (),
        use_jax:      bool = False,                    # constructor: chooses the SUPERCORE type
) -> UT3Data:

Rank-1 uniform Tucker tensor train representing a tensor full of ones (every real entry == 1).

Parameters:
  • shape (t3toolbox.backend.common.typ.Sequence[int])

  • stack_shape (t3toolbox.backend.common.typ.Tuple[int, Ellipsis])

  • use_jax (bool)

Return type:

UT3Data