compute_deta_tilde_tangent_jets#
- t3toolbox.backend.sampling_derivatives.compute_deta_tilde_tangent_jets(down_tucker_cores, down_tucker_cores_dot, ztildes)#
def compute_deta_tilde_tangent_jets( down_tucker_cores: typ.Sequence[NDArray], # D. len=d, elm_shape=C+(nDi,Ni) down_tucker_cores_dot: typ.Sequence[NDArray], # Ddot. len=d, elm_shape=K+C+(nDi,Ni) ztildes: typ.Sequence[NDArray], # residual jets, len=d, elm_shape=(order+1,)+W+C+(Ni,) ) -> typ.Tuple[NDArray, ...]: # deta_tildes_dot. len=d, elm_shape=(order+1,)+W+K+C+(nDi,)
The derivative of
compute_deta_tilde_jets()along the Tucker directions:deta_tilde_dot_i = Ddot_i z~_i(the residual is fixed, so only the core moves). The order axis rides through; the tangent stackKcomes fromDdot.