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 5753150 commit d9525e7Copy full SHA for d9525e7
src/flows/utils.jl
@@ -77,7 +77,7 @@ function fnn(
77
paramtype::Type{T} = Float64,
78
) where {T<:AbstractFloat}
79
# Create a chain of dense layers
80
- # First layer (need to use Any[] otherwise it complains about type instability when pushing layers)
+ # First layer
81
layers = Flux.Dense[Flux.Dense(input_dim, hidden_dims[1], inlayer_activation)]
82
83
# Hidden layers
0 commit comments