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 130e04c commit 5f208c0Copy full SHA for 5f208c0
src/deprecations.jl
@@ -66,11 +66,11 @@ const FluxMetalAdaptor = MetalDevice
66
67
68
function reset!(x)
69
- Base.depwarn("reset!(m) is deprecated. You can remove this call as it is no more needed.", :reset!)
+ @warn "`reset!(m)` is deprecated. You can remove this call as it is no more needed." maxlog=1
70
return x
71
end
72
73
-function params!(p::Zygote.Params, x, seen = IdSet())
+function params!(p::Zygote.Params, x, seen = Base.IdSet())
74
if x isa AbstractArray{<:Number} && Functors.isleaf(x)
75
return push!(p, x)
76
elseif x in seen
0 commit comments