Expand description
Shape, energy, and tangent validation shared by the CPU and GPU backends.
Each check returns a typed RefloxideError and never panics. It does
not build solver inputs beyond the LayerCoeffs packing in
jvp_coeffs.
Functionsยง
- jvp_
coeffs - Validated value and tangent layer records for the JVP entry points.
- validate_
batch - Shape and energy checks shared by the batched CPU and GPU entry points.
- validate_
points - Checks shared by the CPU and GPU point entry points.