Unfortunately, this didn’t work, but thank you for the suggestion. To be clear I’m using
val, grads = Zygote.withgradient(objective, weights)
to compute the gradients.
Unfortunately, this didn’t work, but thank you for the suggestion. To be clear I’m using
val, grads = Zygote.withgradient(objective, weights)
to compute the gradients.