UT3Masks#
- class t3toolbox.uniform_tucker_tensor_train.UT3Masks#
Bases:
t3toolbox.backend.common.ValueHashedMasksThe static rank structure of a uniform Tucker tensor train: its two boolean edge masks.
Slot
jof an edge is real iff its mask isTruethere (the prefix/canonical form). Held as a separate object so it can ride as jaxaux_data. Hash/eq are value-based (theValueHashedMasksmixin), so a rebuilt-but-identical holder is the same jit cache key – no per-iteration recompile in optimization loops; seedocs/contributor/uniform_pytree_composition.md. (The physicalshapeis a separate static int tuple onUniformTuckerTensorTrain– not a mask, and already value-hashable.)