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.
MLUtils.flatten
1 parent 219482a commit afcf4eeCopy full SHA for afcf4ee
src/types.jl
@@ -6,7 +6,7 @@ const ConvLayer = Union{Conv} # TODO: DepthwiseConv, ConvTranspose, CrossCor
6
const DropoutLayer = Union{Dropout,typeof(Flux.dropout),AlphaDropout}
7
8
"""Union type for reshaping layers such as `flatten`."""
9
-const ReshapingLayer = Union{typeof(Flux.flatten)}
+const ReshapingLayer = Union{typeof(Flux.flatten), typeof(Flux.MLUtils.flatten)}
10
11
"""Union type for max pooling layers."""
12
const MaxPoolLayer = Union{MaxPool,AdaptiveMaxPool,GlobalMaxPool}
0 commit comments