padded_frames#
The padded frame at a zero-padded rank increase, on ragged frame data.
fv_empty_frame is the frame of the zero tensor. fv_padded_frame is the hint-free start: an old frame in the
leading slots of every store (the four families of frame cores, down / up / left / right, each named for the side of
its edges that its cores occupy; The frame-variations representation (and why the cores are numbered as they are), “Four rank stores”), and the new slots completed by a
data-independent convention.
tv_align_padded_frame is one alignment step: every completion replaced by the leading new directions of a tangent
vector at the frame, the old blocks held fixed (unrooted message passing over the T3 tree’s directed edges).
fv_aligned_padded_frame is the loop: from the start at oversampled working ranks, steps against the projection of
one fixed tensor, a truncating pass to the target ranks, then two-colour passes in (('D', 'L'), ('U', 'R')) pairs.
The ALIGN_* constants are the loop’s defaults, named once here. Everything runs eagerly unless the loop is asked for
jit (use_jit): then the old frame goes to jax and the loop calls a memoized jitted step.
Attributes#
Functions#
|
The frame of the zero tensor: the orthogonal representation's layout at Tucker ranks 0 and TT ranks |
|
The hint-free padded frame: the old frame in the leading slots, the new slots by the hint-free convention. |
|
One alignment step: each completion replaced by the tangent's leading new directions, old blocks pinned. |
|
The aligned padded frame: the hint-free start, then alignment passes against |
Module Contents#
- ALIGN_OVERSAMPLING = 5#
- ALIGN_OVERSAMPLED_PASSES = 2#
- ALIGN_MAX_PASSES = 10#
- ALIGN_TOL = 0.05#
- ALIGN_ALTERNATE = True#