t3_probe_derivatives(ww, pp, x, order)
|
Symmetric derivatives of probing a Tucker tensor train, in one repeated direction. |
check_perturbation_vectors(ww, pp)
|
Structural check (hard error): the perturbation P (pp) shares the probe stack W and |
check_perturbation_index(index, pp[, shape])
|
Structural check (hard error): the perturbation P shares the probe stack W of the grid |
build_input_jets(xis, dxis)
|
Input jets: stack each (value, direction) pair on a leading order axis. |
compute_mu_jets(tt_cores, xi_jets, order)
|
Left derivative-pushthrough jets (fused banded recurrence). |
compute_nu_jets(tt_cores, xi_jets, order)
|
Right derivative-pushthrough jets (banded recurrence). |
compute_eta_jets(tt_cores, mu_jets, nu_jets)
|
Combine the left and right jets at each free mode (order-scan convolution). |
assemble_z_jets(tucker_cores, eta_jets)
|
Lift the combined jets back to the ambient modes through the Tucker cores (order by order). |
tv_precompute_apply_frame_sweep_jets(frame, ww, pp, order)
|
The apply-derivative frame sweep (lean): the upward jet build_input_jets(D_i x_i, D_i p_i) |
tv_precompute_entries_frame_sweep_jets(frame, index, ...)
|
The entries-derivative frame sweep (lean): like tv_precompute_apply_frame_sweep_jets() |
tv_precompute_probe_frame_sweep_jets(frame, ww, pp, order)
|
The probe-derivative frame sweep (full): the jet-ified twin of |
compute_sigma_jets(var_tt_cores, right_tt_cores, ...)
|
Left-side variation edge-variable jets sigma (banded recurrence; the jet-ified Algorithm-7 sigma |
compute_tau_jets(var_tt_cores, left_tt_cores, ...)
|
Right-side variation edge-variable jets tau (banded recurrence) -- the mirror of |
compute_deta_jets(var_tt_cores, left_tt_cores, ...)
|
Tangent combine at each free mode (order-scan convolution; the jet-ified Algorithm-7 deta combine). |
assemble_tangent_z_jets(tucker_cores, ...)
|
Assemble tangent-probe-derivative jets: z_i = D_i deta_i + V_i eta_i -- two lifts |
tv_probe_jacobian_derivatives_from_sweep(variation, ...)
|
Variation half of tv_probe_derivatives() from a precomputed frame sweep: the |
tv_probe_derivatives(ww, pp, variation, frame, order)
|
Symmetric derivatives of probing a tangent vector, in one repeated direction (Riemannian J^(s)). |
t3_apply_derivatives(ww, pp, x, order)
|
Symmetric derivatives of applying a Tucker tensor train in all modes, in one repeated direction. |
tv_apply_jacobian_derivatives_from_sweep(variation, ...)
|
Variation half of tv_apply_derivatives() from a precomputed frame sweep: the |
tv_apply_derivatives(ww, pp, variation, frame, order)
|
Symmetric derivatives of applying a tangent vector in all modes, in one repeated direction. |
t3_entries_derivatives(index, pp, x, order)
|
Symmetric derivatives of an entry of a Tucker tensor train, in one repeated direction. |
tv_entries_jacobian_derivatives_from_sweep(variation, ...)
|
Variation half of tv_entries_derivatives() from a precomputed frame sweep: |
tv_entries_derivatives(index, pp, variation, frame, order)
|
Symmetric derivatives of an entry of a tangent vector, in one repeated direction. |
compute_deta_tilde_jets(down_tucker_cores, ztildes)
|
Adjoint-upward edge-variable jets: deta_tilde_i = D_i r_i (contract the ambient mode, order |
compute_tau_tilde_jets(left_tt_cores, xi_jets, ...)
|
Adjoint right-side variation edge-variable jets tau_tilde (jet-ified probing.compute_tau_tilde; reverse |
compute_sigma_tilde_jets(right_tt_cores, xi_jets, ...)
|
Adjoint left-side variation edge-variable jets sigma_tilde -- the reverse of |
compute_dxi_tilde_jets(up_tt_cores, mu_jets, nu_jets, ...)
|
Adjoint-var-downward edge-variable jets (jet-ified probing.compute_dxi_tilde): the two adjoint-hooked |
assemble_tucker_variation_jets(ztildes, dxi_tildes, ...)
|
Assemble the Tucker variation gradient (W-chunked; the per-chunk kernel is |
assemble_tt_variation_jets(sigma_tildes, tau_tildes, ...)
|
Assemble the TT variation gradient (W-chunked; the per-chunk kernel is |
estimate_chunk_size(mode_shapes, tucker_ranks, ...[, ...])
|
A memory-balanced chunk_size for the probe-derivative transpose assembly, from the problem |
max_chunk_size_within(mode_shapes, tucker_ranks, ...)
|
The largest chunk_size whose gradient-assembly peak stays within target_bytes (per device) |
tv_probe_transpose_derivatives_from_sweep(ztildes, ww, ...)
|
Variation gradient of tv_probe_derivatives_transpose() from a precomputed frame |
tv_probe_derivatives_transpose(ztildes, ww, pp, frame, ...)
|
Transpose of tv_probe_derivatives(): back-project residual jets ztildes into a |
compute_sigma_hat_jets(right_tt_cores, xi_jets, c)
|
Propagation-only adjoint sweep via R, seeded at the terminal bond by the residual jet c. |
tv_apply_transpose_derivatives_from_sweep(c, ww, pp, ...)
|
Variation gradient of tv_apply_derivatives_transpose() from a precomputed frame |
tv_apply_derivatives_transpose(c, ww, pp, frame, order)
|
Transpose of tv_apply_derivatives(): back-project residual jets c into a |
tv_entries_transpose_derivatives_from_sweep(c, index, ...)
|
Variation gradient of tv_entries_derivatives_transpose() from a precomputed frame |
tv_entries_derivatives_transpose(c, index, pp, frame, ...)
|
Transpose of tv_entries_derivatives(): scatter residual jets c at index |
t3_probe_corewise_derivatives_transpose(ztildes, ww, ...)
|
Corewise (non-manifold) transpose of t3_probe_derivatives(): gradient of the |
t3_apply_corewise_derivatives_transpose(c, ww, pp, ...)
|
Corewise transpose of t3_apply_derivatives(): gradient of the apply-derivative jets |
t3_entries_corewise_derivatives_transpose(c, index, ...)
|
Corewise transpose of t3_entries_derivatives(): gradient of the entry-derivative jets |
compute_deta_tilde_tangent_jets(down_tucker_cores, ...)
|
The derivative of compute_deta_tilde_jets() along the Tucker directions: |
compute_tau_tilde_tangent_jets(left_tt_cores, ...)
|
The derivative of compute_tau_tilde_jets() along (L_dot, xi_dot, deta~_dot, mu_dot), in |
compute_sigma_tilde_tangent_jets(right_tt_cores, ...)
|
The derivative of compute_sigma_tilde_jets() -- the reverse of |
compute_dxi_tilde_tangent_jets(up_tt_cores, ...)
|
The derivative of compute_dxi_tilde_jets(): the product rule of its two adjoint-hooked |
assemble_tucker_tangent_variation_jets(ztildes, ...[, ...])
|
The derivative of the Tucker variation-gradient assembly (W summed). |
assemble_tt_tangent_variation_jets(sigma_tildes, ...)
|
The derivative of the TT variation-gradient assembly (W summed), factored by the product rule. |
t3_probe_corewise_derivatives_hessian_from_sweep(...)
|
t3_probe_corewise_derivatives_hessian() reusing a precomputed frame_sweep's xi and
|
t3_probe_corewise_derivatives_hessian(ztildes, ww, pp, ...)
|
The derivative of t3_probe_corewise_derivatives_transpose() along core directions: the |
compute_sigma_hat_tangent_jets(right_tt_cores, ...)
|
The derivative of compute_sigma_hat_jets() along (R_dot, xi_dot), the residual jet c fixed. |
t3_apply_corewise_derivatives_hessian_from_sweep(c, ...)
|
t3_apply_corewise_derivatives_hessian() reusing a precomputed lean frame_sweep -- the reuse hook
|
t3_apply_corewise_derivatives_hessian(c, ww, pp, ...)
|
The derivative of t3_apply_corewise_derivatives_transpose() along core directions: the |
t3_entries_corewise_derivatives_hessian_from_sweep(c, ...)
|
t3_entries_corewise_derivatives_hessian() reusing a precomputed lean frame_sweep
|
t3_entries_corewise_derivatives_hessian(c, index, pp, ...)
|
The derivative of t3_entries_corewise_derivatives_transpose() along core directions: the |
dense_probe_derivatives(ww, pp, T, order)
|
Exact dense symmetric probe derivatives, by the multilinear subset expansion (test oracle). |
dense_apply_derivatives(ww, pp, T, order)
|
Exact dense symmetric apply derivatives, by the all-modes multilinear subset expansion (oracle). |
dense_entries_derivatives(index, pp, T, order)
|
Exact dense symmetric entry derivatives (oracle): apply-derivatives with one-hot basis vectors |