Skip to content

Commit

Permalink
add naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Apr 21, 2024
1 parent cbb2c60 commit 7ad050c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/friction.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ chain = Lux.Chain(
Lux.Dense(10 => 10, Lux.mish, use_bias = false),
Lux.Dense(10 => 1, use_bias = false)
)
nn = NeuralNetworkBlock(1, 1; chain = chain, rng = StableRNG(1111))
@named nn = NeuralNetworkBlock(1, 1; chain = chain, rng = StableRNG(1111))
eqs = [connect(model.nn_in, nn.output)
connect(model.nn_out, nn.input)]
Expand Down
2 changes: 1 addition & 1 deletion test/lotka_volterra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
model = lotka_ude()

chain = multi_layer_feed_forward(2, 2)
nn = NeuralNetworkBlock(2, 2; chain, rng = StableRNG(42))
@named nn = NeuralNetworkBlock(2, 2; chain, rng = StableRNG(42))

eqs = [connect(model.nn_in, nn.output)
connect(model.nn_out, nn.input)]
Expand Down

0 comments on commit 7ad050c

Please sign in to comment.