ut3_probe_corewise_derivatives_transpose#
- t3toolbox.backend.ut3_sampling.ut3_probe_corewise_derivatives_transpose(ztildes, ww, pp, data, order, sum_over_probes=False)#
def ut3_probe_corewise_derivatives_transpose( ztildes: typ.Sequence[NDArray], # probe residual jets, len=d, ith elm_shape=(order+1,)+W+C+(Ni,) ww: typ.Sequence[NDArray], # probe vectors, len=d, ith elm_shape=W+(Ni,) pp: typ.Sequence[NDArray], # perturbation vectors P, len=d, ith elm_shape=W+(Ni,) data: UT3Data, order: int, sum_over_probes: bool = False, ) -> typ.Tuple[NDArray, NDArray]: # (tucker-core grad supercore, tt-core grad supercore)
Corewise transpose of
ut3_probe_derivatives(): gradient w.r.t. the frame supercores.ztildes/ww/pppacked to N.