torch_numopt.curvature.exact_block_hessian#

Block-diagonal exact Hessian.

Instead of computing the full Hessian matrix, this estimator computes only the diagonal blocks (one per parameter group), ignoring cross-group second derivatives. This reduces memory and computational cost.

Classes

ExactBlockHessianCalculator([damping, mu])

Exact Hessian approximated as a block-diagonal matrix.