We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ignore(f)
ChainRulesCore.ignore_derivatives(f)
I got these warnings:
┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = forward_ffjord(n::DiffEqFlux.FFJORD{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, Vector{Float64}, Nothing, Optimisers.Restructure{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, NamedTuple{(:layers,), Tuple{Tuple{NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}}}}}, Distributions.DiagNormal, Tuple{Float64, Float64}, Tuple{OrdinaryDiffEq.Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.True}}, Base.Pairs{Symbol, SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}, Tuple{Symbol}, NamedTuple{(:sensealg,), Tuple{SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}}}}}, x::Matrix{Float64}, p::Vector{Float64}, e::Matrix{Float64}; regularize::Bool, monte_carlo::Bool) at ffjord.jl:285 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:285 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = forward_ffjord(n::DiffEqFlux.FFJORD{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, Vector{Float64}, Nothing, Optimisers.Restructure{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, NamedTuple{(:layers,), Tuple{Tuple{NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}}}}}, Distributions.DiagNormal, Tuple{Float64, Float64}, Tuple{OrdinaryDiffEq.Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.True}}, Base.Pairs{Symbol, SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}, Tuple{Symbol}, NamedTuple{(:sensealg,), Tuple{SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}}}}}, x::Matrix{Float64}, p::Vector{Float64}, e::Matrix{Float64}; regularize::Bool, monte_carlo::Bool) at ffjord.jl:286 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:286 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = forward_ffjord(n::DiffEqFlux.FFJORD{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, Vector{Float64}, Nothing, Optimisers.Restructure{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, NamedTuple{(:layers,), Tuple{Tuple{NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}}}}}, Distributions.DiagNormal, Tuple{Float64, Float64}, Tuple{OrdinaryDiffEq.Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.True}}, Base.Pairs{Symbol, SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}, Tuple{Symbol}, NamedTuple{(:sensealg,), Tuple{SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}}}}}, x::Matrix{Float64}, p::Vector{Float64}, e::Matrix{Float64}; regularize::Bool, monte_carlo::Bool) at ffjord.jl:294 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:294 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = forward_ffjord(n::DiffEqFlux.FFJORD{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, Vector{Float64}, Nothing, Optimisers.Restructure{Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, NamedTuple{(:layers,), Tuple{Tuple{NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}, NamedTuple{(:weight, :bias, :σ), Tuple{Int64, Int64, Tuple{}}}}}}}, Distributions.DiagNormal, Tuple{Float64, Float64}, Tuple{OrdinaryDiffEq.Tsit5{typeof(OrdinaryDiffEq.trivial_limiter!), typeof(OrdinaryDiffEq.trivial_limiter!), Static.True}}, Base.Pairs{Symbol, SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}, Tuple{Symbol}, NamedTuple{(:sensealg,), Tuple{SciMLSensitivity.InterpolatingAdjoint{0, true, Val{:central}, SciMLSensitivity.ZygoteVJP}}}}}, x::Matrix{Float64}, p::Vector{Float64}, e::Matrix{Float64}; regularize::Bool, monte_carlo::Bool) at ffjord.jl:295 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:295 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = jacobian_fn(::Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, ::Matrix{Float64}) at ffjord.jl:192 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:192 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = jacobian_fn(::Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, ::Matrix{Float64}) at ffjord.jl:193 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:193 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = jacobian_fn(::Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, ::Matrix{Float64}) at ffjord.jl:196 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:196 ┌ Warning: `ignore(f)` is deprecated, use `ChainRulesCore.ignore_derivatives(f)` instead. │ caller = jacobian_fn(::Chain{Tuple{Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}, Dense{typeof(tanh), Matrix{Float64}, Vector{Float64}}}}, ::Matrix{Float64}) at ffjord.jl:198 └ @ DiffEqFlux C:\Users\Hossein Pourbozorg\.julia\packages\DiffEqFlux\7N0N5\src\ffjord.jl:198
The text was updated successfully, but these errors were encountered:
update Zygote.@ignore to ChainRulesCore.@ignore_derivatives
0c94b7f
Fixes #745
#751
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I got these warnings:
The text was updated successfully, but these errors were encountered: