Skip to content

Commit

Permalink
put a random seed on there
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Nov 5, 2024
1 parent a263d14 commit 4952ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/examples/optimal_control/optimal_control.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ using Lux, ComponentArrays, OrdinaryDiffEq, Optimization, OptimizationOptimJL,
OptimizationOptimisers, SciMLSensitivity, Zygote, Plots, Statistics, Random
rng = Random.default_rng()
Random.seed!(rng, 0)
tspan = (0.0f0, 8.0f0)
ann = Chain(Dense(1, 32, tanh), Dense(32, 32, tanh), Dense(32, 1))
Expand Down

0 comments on commit 4952ac7

Please sign in to comment.