uniform_tucker_tensor_train#
Uniform Tucker tensor trains (UT3): a stacked-supercore + boolean-mask representation of (a stack of)
ragged TuckerTensorTrain s, laid out for GPU/jit efficiency.
A UT3 pads the cores of a Tucker tensor train up to common sizes n (Tucker rank), r (TT rank),
N (mode dimension), stacks the d cores onto a leading axis to form supercores, and records the
real extent of each padded edge with boolean masks. It is, by design, a faster representation of the
ragged layer – see docs/uniform_equivalence_contract.md and the other docs/uniform_*.md notes.
NOTE: this module is being built incrementally (slice 1: foundation). Linear algebra, orthogonalization, SVD, sampling, and the jax pytree registration land in later slices.
Classes#
The static rank structure of a uniform Tucker tensor train: its two boolean edge masks. |
|
A uniform Tucker tensor train: two supercores (the data) + a |
|
Diagonal weights on the internal edges of a |
Functions#
|
Contract diagonal edge weights into |
|
Weighted Hilbert-Schmidt norm |
|
Weighted Hilbert-Schmidt inner product |