utv_probe_derivatives_transpose#
- t3toolbox.backend.utv_sampling.utv_probe_derivatives_transpose(ztildes, ww, pp, frame_data, order, sum_over_probes=False, chunk_size=100)#
def utv_probe_derivatives_transpose( ztildes, # probe residual jets, len=d, ith elm_shape=(order+1,)+W+K+C+(Ni,) ww, # probe vectors, len=d, ith elm_shape=W+(Ni,) pp, # perturbation P, len=d, ith elm_shape=W+(Ni,) frame_data, # UT3Frame .data (an orthogonal frame), supercore stack = C order, # highest derivative order sum_over_probes=False, chunk_size=100, # W-chunk size for the gradient assembly; None -> dense. docs/chunking.md ): # -> UT3Variations .data: (dU_tilde, dG_tilde, shape, masks); stack K_new + C
Apply the transpose
𝒥ᵀof the probe-derivative map to residual jets (the bare adjoint). Mask-once, pack the residual jets +ww+pp, sharesampling_derivatives.tv_probe_derivatives_transpose, attach the gauge masks over the new tangent stackK_new.