torch_numopt.curvature.exact_hessian#

Exact Hessian computation using torch.func.

This module provides the full Hessian matrix (or block-diagonal approximation) via automatic differentiation. It supports damping (identity or Fletcher) and batched evaluation.

Classes

ExactHessianCalculator([damping, mu])

Compute the exact Hessian matrix (full or block) of the objective.