ut3_apply_corewise_hessian#
- t3toolbox.backend.ut3_sampling.ut3_apply_corewise_hessian(c, ww, data, core_directions)#
def ut3_apply_corewise_hessian( c: NDArray, # residual (omega^2 applied), shape=W+C ww: typ.Union[typ.Sequence[NDArray], NDArray], # apply vectors, len=d, elm_shape=W+(Ni,); or packed data: UT3Data, # the point theta, stack C core_directions: typ.Tuple[NDArray, NDArray], # bare raw direction supercores theta_hat, (d,)+K+C+(...) ) -> typ.Tuple[NDArray, NDArray]: # (Tucker, TT) blocks of K theta_hat, (d,)+K+C+(...), W summed
The uniform twin of
t3_apply_corewise_hessian()(thetaandtheta_hatmasked withtheta’s masks,wwpacked, the output re-masked), asut3_probe_corewise_hessian().