-
-
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
Move type-pirating methods to FillArrays
?
#1426
Comments
Seems one could exploit though that if all entries of Edit: Simplified even more (see below). |
Yes, indeed, but won't the second case be zero for integer |
Yep, I just noticed that I could have simplified it even more 😅 |
You somehow discovered a very old version of that file. The current Zygote codebase doesn't use FFTW at all: https://github.com/FluxML/Zygote.jl/blob/master/src/lib/array.jl |
It's still there, just using Lines 672 to 677 in e2d7839
|
Right, but for that we already have #835 no? AbstractFFTs shouldn't really be a dep of Zygote in the first place. |
Yes, my point is that removing the rules for AbstractFFTs from Zygote should also involve removing any piracy (because there should be no code referring to AbstractFFTs left in Zygote afterwards). |
Yes make it an extension . But shouldn’t it return a |
That was our point above 🙂 |
E.g.
Zygote.jl/src/lib/array.jl
Line 783 in 17ca911
This looks like it should belong to an extension in
FillArrays.jl
The text was updated successfully, but these errors were encountered: