Skip to content

Commit

Permalink
test: remove tests for assertion error with batch to be true for Quad…
Browse files Browse the repository at this point in the history
…ratureTraining
  • Loading branch information
sathvikbhagavan committed Mar 21, 2024
1 parent 24b8332 commit 12ec15f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/NNODE_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ end
sol = solve(prob, NNODE(luxchain, opt), verbose = true, maxiters = 400)
@test sol.errors[:l2] < 0.5

@test_throws AssertionError solve(prob, NNODE(luxchain, opt; batch = true), verbose = true,
maxiters = 400)

sol = solve(prob,
NNODE(luxchain, opt; batch = false,
strategy = StochasticTraining(100)),
Expand Down Expand Up @@ -105,10 +102,6 @@ end
abstol = 1.0f-8)
@test sol.errors[:l2] < 0.5

@test_throws AssertionError solve(prob, NNODE(luxchain, opt; batch = true), verbose = true,
maxiters = 400,
abstol = 1.0f-8)

sol = solve(prob,
NNODE(luxchain, opt; batch = false,
strategy = StochasticTraining(100)),
Expand Down

0 comments on commit 12ec15f

Please sign in to comment.