File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 51
51
52
52
Dropout layer. In the forward pass, apply the [`Flux.dropout`](@ref) function on the input.
53
53
54
- For N-D dropout layers (e.g. `Dropout2d` or `Dropout3d` in PyTorch ),
55
- specify the `dims` keyword (i.e. `Dropout(p; dims = 3)` is a 2D dropout layer).
54
+ To apply dropout along an certain dimension (e.g. zeroing out an entire channel's feature map ),
55
+ specify the `dims` keyword (i.e. `Dropout(p; dims = 3)` is a 2D dropout layer on WHCN input ).
56
56
57
57
Does nothing to the input once [`Flux.testmode!`](@ref) is `true`.
58
58
"""
@@ -423,4 +423,4 @@ function Base.show(io::IO, l::GroupNorm)
423
423
print (io, " GroupNorm($(join (size (l. β), " , " )) " )
424
424
(l. λ == identity) || print (io, " , λ = $(l. λ) " )
425
425
print (io, " )" )
426
- end
426
+ end
You can’t perform that action at this time.
0 commit comments