Skip to content

Commit

Permalink
chore: force install latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Sep 7, 2024
1 parent 25a11e7 commit b2c643c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ModelingToolkitNeuralNets"
uuid = "f162e290-f571-43a6-83d9-22ecc16da15f"
authors = ["Sebastian Micluța-Câmpeanu <[email protected]> and contributors"]
version = "1.3.0"
version = "1.4.0"

[deps]
ComponentArrays = "b0b7db55-cfe3-40fc-9ded-d10e2dbeff66"
Expand All @@ -17,8 +17,8 @@ Aqua = "0.8"
ComponentArrays = "0.15.11"
ForwardDiff = "0.10.36"
JET = "0.8"
Lux = "0.5.32"
LuxCore = "0.1.14, 1.0"
Lux = "1"
LuxCore = "1"
ModelingToolkit = "9.9"
ModelingToolkitStandardLibrary = "2.7"
Optimization = "3.24"
Expand All @@ -29,7 +29,7 @@ SafeTestsets = "0.1"
SciMLStructures = "1.1.0"
StableRNGs = "1"
SymbolicIndexingInterface = "0.3.15"
Symbolics = "5.27, 6.0"
Symbolics = "6.9"
Test = "1.10"
julia = "1.10"

Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ModelingToolkitNeuralNets = "f162e290-f571-43a6-83d9-22ecc16da15f"

[compat]
Documenter = "1.3"
Lux = "0.5.32"
Lux = "1"
ModelingToolkit = "9.9"
ModelingToolkitStandardLibrary = "2.7"
Optimization = "3.24"
Expand Down
4 changes: 2 additions & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function multi_layer_feed_forward(input_length, output_length; width::Int = 5,
depth::Int = 1, activation = tanh, disable_optimizations = false)
depth::Int = 1, activation = tanh)
Lux.Chain(Lux.Dense(input_length, width, activation),
[Lux.Dense(width, width, activation) for _ in 1:(depth)]...,
Lux.Dense(width, output_length); disable_optimizations)
Lux.Dense(width, output_length))
end

0 comments on commit b2c643c

Please sign in to comment.