graphics
graphics copied to clipboard
Update levenberg_marquardt.py
Retracing can be avoided by simply adding the tf.function decorator
sample showing the effect of the change on runtime and warning that is mentioned without decorator: https://gist.github.com/Vesalon/a643c355d3caa2bf30f6ecf485505276
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.