t3_operations#
Structural operations on ragged t3 data.
Squash tails, segment/concatenate, stack/unstack, broadcast-to-common-stack, core-shape
utilities, and the weighted-layer core ops (t3_absorb_weights / t3_{concatenate,kronecker}_weights
/ t3_weights_consistent).
Functions#
|
Broadcast every core of a T3 up to the common (broadcast) stack of all its cores. |
|
Absorb each Tucker core into its TT core, replacing the mode ( |
|
Collapse the leading/trailing TT bonds of a T3 to one, without changing the represented tensor. |
|
Contiguous mode-segment of a T3: slice both core families over modes |
|
Concatenate a sequence of T3 segments into one T3 (inverse of |
|
Increase/decrease Tucker and/or TT ranks for TT cores using zero padding/truncation. |
|
|
|
Given multiple stacked T3s, this unstacks them |
|
Determines the shapes of the T3 cores based on the ranks. |
|
Sum over axes of TuckerTensorTrain. |
|
Contract diagonal edge weights into a Tucker tensor train's cores (shape-preserving). |
|
True iff the weight tuple's lengths, per-edge ranks, and stack_shape match the T3 |
|
Per-edge concatenation of two weight tuples (the |
|
Per-edge Kronecker product of two weight tuples (the Hadamard |