rfeinman / pytorch-minimize

Newton and Quasi-Newton optimization with PyTorch
https://pytorch-minimize.readthedocs.io
MIT License
292 stars 34 forks source link

Output the hess_inv from bfgs using the Optimizer API #16

Closed richinex closed 1 year ago

richinex commented 1 year ago

Hi Reuben, I would like to ask if it is possible to extract the hessian_inv from BFGS using the Optimizer API (Minimizer) as is possible with the functional API?

richinex commented 1 year ago

I found it in optimizer._result

Thanks