A basic PyTorch implementation of the Levenberg-Marquardt algorithm. This solves minimization problems of the form
The implementation is batched over the parameters
Based on implementation 1 from Gavin 2022 and some help from Connor Stone.
Just run pip install levmarq-torch
.