Skip to content

Commit 0f46582

Browse files
authored
Un-deprecate track_stats for InstanceNorm
1 parent ee78ce3 commit 0f46582

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/layers/normalise.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,10 +432,6 @@ function InstanceNorm(chs::Int, λ=identity;
432432
affine=false, track_stats=false,
433433
ϵ=1f-5, momentum=0.1f0)
434434

435-
if track_stats
436-
Base.depwarn("`track_stats=true` will be removed from InstanceNorm in Flux 0.14. The default value is `track_stats=false`, which will work as before.", :InstanceNorm)
437-
end
438-
439435
β = affine ? initβ(chs) : nothing
440436
γ = affine ? initγ(chs) : nothing
441437
μ = track_stats ? zeros32(chs) : nothing

0 commit comments

Comments
 (0)