ut3_apply_corewise_transpose#

t3toolbox.backend.ut3_sampling.ut3_apply_corewise_transpose(c, ww, data, sum_over_probes=False)#
def ut3_apply_corewise_transpose(
        c:    NDArray,                # residual, shape=W+K+C
        ww:   typ.Sequence[NDArray],  # apply vectors, len=d, ith elm_shape=W+(Ni,)
        data: UT3Data,
        sum_over_probes: bool = False,
) -> typ.Tuple[NDArray, NDArray]:     # (tucker-core grad supercore, tt-core grad supercore)

Corewise transpose of ut3_apply(): gradient w.r.t. the frame supercores. ww packed to N.

Parameters:
  • c (NDArray)

  • ww (t3toolbox.backend.common.typ.Sequence[NDArray])

  • data (UT3Data)

  • sum_over_probes (bool)

Return type:

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