compute_deta_tilde_tangent#

t3toolbox.backend.probing.compute_deta_tilde_tangent(down_tucker_cores, down_tucker_cores_dot, ztildes)#
def compute_deta_tilde_tangent(
        down_tucker_cores:      typ.Union[typ.Sequence[NDArray], NDArray],  # D.    len=d, elm_shape=C+(nDi,Ni)
        down_tucker_cores_dot:  typ.Union[typ.Sequence[NDArray], NDArray],  # Ddot. len=d, elm_shape=K+C+(nDi,Ni)
        ztildes:                typ.Union[typ.Sequence[NDArray], NDArray],  # residuals, len=d, elm_shape=W+C+(Ni,)
) -> typ.Union[typ.Sequence[NDArray], NDArray]:  # deta_tildes_dot. len=d, elm_shape=W+K+C+(nDi,)

The derivative of compute_deta_tilde() along the Tucker directions, the residual held fixed: deta_tilde_dot_i = Ddot_i z~_i (only the core moves). The tangent stack K comes from Ddot; D only pins len(C).

Parameters:
  • down_tucker_cores (t3toolbox.backend.common.typ.Union[t3toolbox.backend.common.typ.Sequence[NDArray], NDArray])

  • down_tucker_cores_dot (t3toolbox.backend.common.typ.Union[t3toolbox.backend.common.typ.Sequence[NDArray], NDArray])

  • ztildes (t3toolbox.backend.common.typ.Union[t3toolbox.backend.common.typ.Sequence[NDArray], NDArray])

Return type:

t3toolbox.backend.common.typ.Union[t3toolbox.backend.common.typ.Sequence[NDArray], NDArray]