Skip to content

Commit

Permalink
Update src/pino_ode_solve.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Sathvik Bhagavan <[email protected]>
  • Loading branch information
KirillZubov and sathvikbhagavan authored Jun 12, 2024
1 parent 0fb7d23 commit b6639ea
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions src/pino_ode_solve.jl
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
"""
PINOODE
PINOODE(chain,
OptimizationOptimisers.Adam(0.1),
bounds;
init_params = nothing,
strategy = nothing
kwargs...)
PINOODE(chain,
OptimizationOptimisers.Adam(0.1),
bounds;
init_params = nothing,
strategy = nothing
kwargs...)
Algorithm for solving paramentric ordinary differential equations using a physics-informed
neural operator, which is used as a solver for a parametrized `ODEProblem`.
## Positional Arguments
* `chain`: A neural network architecture, defined as a `Lux.AbstractExplicitLayer` or `Flux.Chain`.
`Flux.Chain` will be converted to `Lux` using `Lux.transform`.
`Flux.Chain` will be converted to `Lux` using `adapt(FromFluxAdaptor(false, false), chain)`
* `opt`: The optimizer to train the neural network.
* `bounds`: A dictionary containing the bounds for the parameters of the neural network
in which will be train the prediction of parametric ODE.
## Keyword Arguments
* `init_params`: The initial parameter of the neural network. By default, this is `nothing`
which thus uses the random initialization provided by the neural network library.
* `init_params`: The initial parameter of the neural network. By default, this is `nothing`,
which thus uses the random initialization provided by the neural network library.
* `strategy`: The strategy for training the neural network.
* `additional_loss`: additional function to the main one. For example, add training on data.
* `kwargs`: Extra keyword arguments are splatted to the Optimization.jl `solve` call.
## References
* Sifan Wang "Learning the solution operator of parametric partial differential equations with physics-informed DeepOnets"
* Zongyi Li "Physics-Informed Neural Operator for Learning Partial Differential Equations"
"""
Expand Down

0 comments on commit b6639ea

Please sign in to comment.