-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from SciML/smc/cleanup
Cleanup
- Loading branch information
Showing
7 changed files
with
34 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[default.extend-words] | ||
nin = "nin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
using UDEComponents | ||
using Documenter | ||
|
||
DocMeta.setdocmeta!(UDEComponents, :DocTestSetup, :(using UDEComponents); recursive=true) | ||
DocMeta.setdocmeta!(UDEComponents, :DocTestSetup, :(using UDEComponents); recursive = true) | ||
|
||
makedocs(; | ||
modules=[UDEComponents], | ||
authors="Sebastian Micluța-Câmpeanu <[email protected]> and contributors", | ||
sitename="UDEComponents.jl", | ||
format=Documenter.HTML(; | ||
canonical="https://SebastianM-C.github.io/UDEComponents.jl", | ||
edit_link="main", | ||
assets=String[], | ||
modules = [UDEComponents], | ||
authors = "Sebastian Micluța-Câmpeanu <[email protected]> and contributors", | ||
sitename = "UDEComponents.jl", | ||
format = Documenter.HTML(; | ||
canonical = "https://SciML.github.io/UDEComponents.jl", | ||
edit_link = "main", | ||
assets = String[] | ||
), | ||
pages=[ | ||
"Home" => "index.md", | ||
], | ||
pages = [ | ||
"Home" => "index.md" | ||
] | ||
) | ||
|
||
deploydocs(; | ||
repo="github.com/SebastianM-C/UDEComponents.jl", | ||
devbranch="main", | ||
repo = "github.com/SciML/UDEComponents.jl", | ||
devbranch = "main" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,6 @@ | ||
function multi_layer_feed_forward(input_length, output_length; width::Int = 5, | ||
depth::Int = 1, activation = softplus) | ||
depth::Int = 1, activation = softplus, disable_optimizations = false) | ||
Lux.Chain(Lux.Dense(input_length, width, activation), | ||
[Lux.Dense(width, width, activation) for _ in 1:(depth)]..., | ||
Lux.Dense(width, output_length); disable_optimizations = true) | ||
Lux.Dense(width, output_length); disable_optimizations) | ||
end | ||
|
||
# Symbolics.@register_array_symbolic print_input(x) begin | ||
# size = size(x) | ||
# eltype = eltype(x) | ||
# end | ||
|
||
# function print_input(x) | ||
# @info x | ||
# x | ||
# end | ||
|
||
# function debug_component(n_input, n_output) | ||
# @named input = RealInput(nin = n_input) | ||
# @named output = RealOutput(nout = n_output) | ||
|
||
# eqs = [output.u ~ print_input(input.u)] | ||
|
||
# @named dbg_comp = ODESystem(eqs, t_nounits, [], [], systems = [input, output]) | ||
# end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters