Skip to content

Commit

Permalink
Fix BNN doc to work with Mooncake
Browse files Browse the repository at this point in the history
  • Loading branch information
penelopeysm committed Nov 25, 2024
1 parent 28fcc61 commit 02c24ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/03-bayesian-neural-network/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ const nn = StatefulLuxLayer{true}(nn_initial, nothing, st)
parameters ~ MvNormal(zeros(nparameters), Diagonal(abs2.(sigma .* ones(nparameters))))
# Forward NN to make predictions
preds = Lux.apply(nn, xs, vector_to_parameters(parameters, ps))
preds = Lux.apply(nn, xs, f32(vector_to_parameters(parameters, ps)))
# Observe each prediction.
for i in eachindex(ts)
Expand Down

0 comments on commit 02c24ef

Please sign in to comment.