EntriesDerivativesKind#

class t3toolbox.backend.fitting.EntriesDerivativesKind#

Bases: _IndexPpSample, ScalarOutputKind, _DerivativesKind

ApplyDerivativesKind at integer grid points. sample = (index, pp). Order-only weight.

name = 'entries_derivatives'#

Methods#

precompute(frame, s)

The reusable frame sweep at frame for sample (computed once per local model).

forward(v, s, frame, sweep)

The bare Jacobian J v (no gauge).

transpose(r, s, frame, sweep)

The bare transpose J^T r, summed over the sample stack W; raw (dU, dG).

point_forward(x_cores, s)

The point operation S(x) -- what the residual is measured against.

take(sample, data, idx)

Gather a flat W subset of (sample, data) -- the default minibatch draw's layout hook.