-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support f!(y, x)
for Zygote with Zygote.Buffer
#348
Comments
PR #360 fails because
and some functions are typed |
Wait, I think the main thing it does, and what I had in mind asking for it was supporting in-place functions that's it. It has been quite robust in my experience and by documenting that the extent of mutation here is just in-place function calls why is this not worth it? Doesn't that mean that you'd be able to mark off the Two-argument column for Zygote here https://gdalle.github.io/DifferentiationInterface.jl/DifferentiationInterface/dev/backends/#Features? |
Gonna give it another try. Hopefully all it takes is to remove a few type annotations for my test suite to pass |
Buffer was discussed on Slack today and described as very hacky and buggy, so I think this feature would cause more harm than good in the end. |
See https://fluxml.ai/Zygote.jl/stable/utils/#Zygote.Buffer
Ping @Vaibhavdixit02
The text was updated successfully, but these errors were encountered: