diff --git a/src/pino_ode_solve.jl b/src/pino_ode_solve.jl index ae1d12a8c7..5e39ecbf65 100644 --- a/src/pino_ode_solve.jl +++ b/src/pino_ode_solve.jl @@ -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" """