ut3_conversions#
Ragged <-> uniform <-> dense conversions of plain T3 data.
t3_to_ut3/ut3_to_t3/ut3_to_dense – the seam the uniform equivalence contract is
stated through: to_uniform -> op -> to_ragged == op_ragged on real parts, garbage
don’t-care (docs/uniform_equivalence_contract.md). t3weights_to_ut3weights /
ut3weights_to_t3weights are the same seam for the weighted layer, and are how every uniform
weight op is tested against its ragged twin.
Functions#
|
Convert a (ragged) TuckerTensorTrain core pair to uniform supercores + shape + masks (nested .data). |
|
Form the dense tensor from a uniform Tucker tensor train: mask the supercores, chain-contract |
|
Convert uniform supercores + masks back to ragged TuckerTensorTrain core pairs. |
|
Pack a ragged |
|
Convert uniform weight supercores + masks back to ragged |