tv_entries_transpose#
- t3toolbox.backend.entries.tv_entries_transpose(c, index, frame, sum_over_probes=False)#
def tv_entries_transpose( c: NDArray, # residual, shape = W + C index: NDArray, # int, shape=(d,)+W (the indices whose entries c weights) frame: typ.Tuple[typ.Sequence[NDArray], typ.Sequence[NDArray], typ.Sequence[NDArray], typ.Sequence[NDArray]], # (down, up, left, right) sum_over_probes: bool = False, ) -> typ.Tuple[typ.Sequence[NDArray], typ.Sequence[NDArray]]: # (V_tildes, H_tildes)
Apply the transpose of
tv_entries()– scatter a residualcatindexinto a tangent.Identical to
tv_apply_transpose()with the upwardxi-hatfrom fiber slicing and the apply vectors replaced by the unit vectorse_{index_k}(so theV-tildeouter product is the entry scatter).See also
tv_entries,tv_apply_transpose