Skip to content

Commit

Permalink
Fix failing formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmor5 committed May 14, 2024
1 parent 0473cf9 commit b6ab577
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/axon/loop_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,11 @@ defmodule Axon.LoopTest do
test "saves a checkpoint on custom events", %{loop: loop} do
data = List.duplicate({Nx.iota({1, 1}), Nx.iota({1, 1})}, 5)

assert %Axon.Loop.State{epoch: 3, iteration: 0, event_counts: %{iteration_completed: %{total: 15}}} =
assert %Axon.Loop.State{
epoch: 3,
iteration: 0,
event_counts: %{iteration_completed: %{total: 15}}
} =
loop
|> Map.put(:output_transform, & &1)
|> Loop.checkpoint(event: :iteration_completed, filter: [every: {:epoch, 2}])
Expand Down

0 comments on commit b6ab577

Please sign in to comment.