ut3_entries_corewise_hessian#
- t3toolbox.backend.ut3_sampling.ut3_entries_corewise_hessian(c, index, data, core_directions)#
def ut3_entries_corewise_hessian( c: NDArray, # residual (omega^2 applied), shape=W+C index: NDArray, # int, shape=(d,)+W 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_entries_corewise_hessian()(indexunpacked – the one-hot vectors are built packed inside the kernel), asut3_apply_corewise_hessian().