UniformManifoldGeometryOps.from_frame#

classmethod t3toolbox.backend.geometry.UniformManifoldGeometryOps.from_frame(frame_data, plain_masks, sharing=None)#
def from_frame(
        cls,
        frame_data:   typ.Tuple,                          # uniform frame .data = (D, U, L, R, shape, masks)
        plain_masks:  typ.Tuple,                          # the point's plain-UT3 (tucker, tt) masks; HOST bool
        sharing:      typ.Optional[typ.Sequence] = None,  # len=d group labels; None = unshared
) -> 'UniformManifoldGeometryOps':

The geometry at the fixed rank of a frame already in hand – from_point() without the orthogonalization. The variation masks are the frame’s own, gauge-shifted (ufv_variation_masks()): the frame IS the orthogonal representation from_point would recompute, so the two agree whenever frame_data is the frame of a point with plain_masks (one sweep, a few SVDs and a TT orthogonalization saved per call).

For a caller that already holds the frame – a local model building its backend geometry once per frame – rather than a point.

Parameters:
  • frame_data (t3toolbox.backend.common.typ.Tuple)

  • plain_masks (t3toolbox.backend.common.typ.Tuple)

  • sharing (t3toolbox.backend.common.typ.Optional[t3toolbox.backend.common.typ.Sequence])

Return type:

UniformManifoldGeometryOps