Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillZubov committed Mar 19, 2024
1 parent 48c762b commit 671cedc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/pino_ode_solve.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
struct TRAINSET{}
input_data::Vector{ODEProblem}
output_data::Array
isu0::Bool
end

function TRAINSET(input_data, output_data; isu0 = false)
TRAINSET(input_data, output_data, isu0)
end

"""
PINOODE(chain,
OptimizationOptimisers.Adam(0.1),
Expand Down Expand Up @@ -49,16 +59,6 @@ function PINOODE(chain,
PINOODE(chain, opt, train_set, is_data_loss, is_physics_loss, init_params, kwargs)
end

struct TRAINSET{}
input_data::Vector{ODEProblem}
output_data::Array
isu0::Bool
end

function TRAINSET(input_data, output_data; isu0 = false)
TRAINSET(input_data, output_data, isu0)
end

mutable struct PINOPhi{C, T, U, S}
chain::C
t0::T
Expand Down

0 comments on commit 671cedc

Please sign in to comment.