We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 541a2ea commit c2365c2Copy full SHA for c2365c2
src/univariate.jl
@@ -264,8 +264,7 @@ end
264
# The code below doesn't work because of bugs in Zygote. The above is inefficient.
265
#=
266
ZygoteRules.@adjoint function poissonbinomial_pdf_fft(x::AbstractArray{<:Real})
267
- value, back = ZygoteRules.pullback(poissonbinomial_pdf_fft_zygote, x)
268
- return value, Δ -> back(Δ)
+ return ZygoteRules.pullback(poissonbinomial_pdf_fft_zygote, x)
269
end
270
function poissonbinomial_pdf_fft_zygote(p::AbstractArray{T}) where {T <: Real}
271
n = length(p)
0 commit comments