UniformTuckerTensorTrain.sum#

t3toolbox.uniform_tucker_tensor_train.UniformTuckerTensorTrain.sum(axis=None)#
def sum(self, axis=None) -> NDArray:

Sum the represented tensor over all physical modes (shape=stack_shape). Partial sums (axis given) are deferred – see dev/archive/uniform_port_plan.md.

Return type:

NDArray