pub fn check_op_ad(info: &OpInfo, seed: u64) -> AdReportExpand description
Checks the derivatives of the f64 and c128 samples of info (those
that the primitive accepts, except edge values, which include points
where functions are not differentiable).
Complex derivatives are checked as JAX defines them: forward mode
against finite differences along complex tangents (the derivative as a
map of the real and imaginary parts), and reverse mode with the pairing
sum(re(a * b)).