tucker_tensor_train#

Basic Tucker tensor trains with non-uniform (ragged) shape and ranks.

Classes#

TuckerTensorTrain

Tucker tensor train with non-uniform (ragged) shape and ranks.

T3Weights

Diagonal weights on the internal edges of a TuckerTensorTrain -- one vector per edge.

Functions#

t3_absorb_weights(x, weights)

Contract diagonal edge weights into x's cores (shape-preserving): the returned

t3_weighted_norm(x, weights)

Weighted Hilbert-Schmidt norm ||absorb_weights(x, weights)|| (returns an array of shape

t3_weighted_inner(x_A, weights_A, x_B, weights_B)

Weighted Hilbert-Schmidt inner product of two weighted Tucker tensor trains