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 dc73605 commit 5753150Copy full SHA for 5753150
example/utils.jl
@@ -1,4 +1,5 @@
1
using Random, Distributions, LinearAlgebra
2
+using Bijectors
3
using Bijectors: transformed
4
5
function compare_trained_and_untrained_flow(
src/flows/utils.jl
@@ -78,7 +78,7 @@ function fnn(
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)
81
- layers = Any[Flux.Dense(input_dim, hidden_dims[1], inlayer_activation)]
+ layers = Flux.Dense[Flux.Dense(input_dim, hidden_dims[1], inlayer_activation)]
82
83
# Hidden layers
84
for i in 1:(length(hidden_dims) - 1)
0 commit comments