padded_frames ============= .. py:module:: t3toolbox.backend.padded_frames .. autoapi-nested-parse:: 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; :doc:`/frame_variations`, "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 ---------- .. autoapisummary:: t3toolbox.backend.padded_frames.ALIGN_OVERSAMPLING t3toolbox.backend.padded_frames.ALIGN_OVERSAMPLED_PASSES t3toolbox.backend.padded_frames.ALIGN_MAX_PASSES t3toolbox.backend.padded_frames.ALIGN_TOL t3toolbox.backend.padded_frames.ALIGN_ALTERNATE Functions --------- .. toctree:: :hidden: /autoapi/t3toolbox/backend/padded_frames/fv_empty_frame /autoapi/t3toolbox/backend/padded_frames/fv_padded_frame /autoapi/t3toolbox/backend/padded_frames/tv_align_padded_frame /autoapi/t3toolbox/backend/padded_frames/fv_aligned_padded_frame .. autoapisummary:: t3toolbox.backend.padded_frames.fv_empty_frame t3toolbox.backend.padded_frames.fv_padded_frame t3toolbox.backend.padded_frames.tv_align_padded_frame t3toolbox.backend.padded_frames.fv_aligned_padded_frame Module Contents --------------- .. py:data:: ALIGN_OVERSAMPLING :value: 5 .. py:data:: ALIGN_OVERSAMPLED_PASSES :value: 2 .. py:data:: ALIGN_MAX_PASSES :value: 10 .. py:data:: ALIGN_TOL :value: 0.05 .. py:data:: ALIGN_ALTERNATE :value: True