ut3_precompute_inner_product_sweep#

t3toolbox.backend.ut3_linalg.ut3_precompute_inner_product_sweep(z, theta)#
def ut3_precompute_inner_product_sweep(
        z:      UT3Data,                  # the fixed uniform T3, stack C
        theta:  UT3Data,                  # the point, stack C
) -> typ.Tuple[NDArray, NDArray, NDArray, NDArray, NDArray]:   # (zB, G2, ZL, ZR, env) supercores, (d,)+C+(...)

The uniform twin of t3_precompute_inner_product_sweep(): the (z, theta)-dependent intermediates of the T3-T3 two-hole, once per frame – z and theta masked on entry, then the polymorphic sweep (d-prefixed contractions, the zippers’ uniform scan). Pass the result to ut3_inner_product_corewise_hessian_from_sweep() with the same z and theta.

Parameters:
  • z (UT3Data)

  • theta (UT3Data)

Return type:

t3toolbox.backend.common.typ.Tuple[NDArray, NDArray, NDArray, NDArray, NDArray]