Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillZubov committed Jul 12, 2024
1 parent 10e08c2 commit 61fa804
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/PINO_ode_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ using Test
using OptimizationOptimisers
using Lux
using Statistics, Random
using LuxNeuralOperators
using NeuralOperators
using NeuralPDE

# dG(u(t, p), t) = f(G,u(t, p))
Expand All @@ -16,6 +16,9 @@ using NeuralPDE
Dense(1 => 10, Lux.tanh_fast), Dense(10 => 10, Lux.tanh_fast), Dense(10 => 10)),
Chain(Dense(1 => 10, Lux.tanh_fast), Dense(10 => 10, Lux.tanh_fast),
Dense(10 => 10, Lux.tanh_fast)))
#TODO test FNO
fno = FourierNeuralOperator(gelu; chs = (2, 64, 64, 128, 1), modes = (16,))

u = rand(1, 50)
v = rand(1, 40, 1)
θ, st = Lux.setup(Random.default_rng(), deeponet)
Expand Down

0 comments on commit 61fa804

Please sign in to comment.