-
Hi, I have an optimization loop where I run something like:
I am wondering if anywhere in this loop I have access to the objective function value. Right now I externally calculate this objective function value so that I can plot the loss curve after the optimization has terminated. The function calls are somewhat costly, so I am just wondering if optax already has access to these values at every step. |
Beta Was this translation helpful? Give feedback.
Answered by
ramithuh
Feb 23, 2023
Replies: 1 comment
-
I think you might be needing |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pvasired
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you might be needing
jax.value_and_grad
in yourupdate()
function