-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Applying Grads
fails
#76
Comments
Optimisers does not work with the "implicit" Params / Grads mode of Zygote. It needs the "explicit" form, so that
|
Got it, thank you! |
Can this be added into docs? I also encounter the same error just now. |
See what you think of #80 . It would be nice if this could be made to have a friendly error message, too. This package can't depend on Zygote so can't see the type Grads, but perhaps it could still notice the problem somehow? |
I have some ideas with various levels of hackiness. Checking for the existence of each field on A less reflection-heavy option would be to pirate |
I think the simplest pirate option is We could certainly identify
|
Simple MWE:
Throws:
The text was updated successfully, but these errors were encountered: