hessian

Description

Exact computation of full Hessian using autodiff for calibration.

Functions

exact_hessian(fn, params[, device])

Compute all second derivatives of a scalar w.r.t.

grad_2nd(dtheta, params)

Calculate the contiguous gradients of params wrt dtheta as 2D matrix.