-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Unsupported Control Flow with custom adjoint #41
Comments
There's at least one control flow-related Zygote issue that's fixed in Julia master, I think, so that might be worth trying? |
This is obviously still a valid bug, but note that you aren't hitting your custom adjoint here (you seem to be passing matrix x matrix into |
I'm an idiot. Thanks for catching this. Works fine now. |
No worries, if Zygote's errors don't make the issue obvious then that's definitely still its problem. |
I'm looking at implementing a couple of custom adjoints. With this MWE:
I get this error:
Any thoughts? Am I doing something wrong, or is this an issue on Zygote's end?
(I'm running on Zygote and IRTools master, and Julia 1.0.2)
The text was updated successfully, but these errors were encountered: