Skip to content

Commit 79979c2

Browse files
committed
test: use batch loss and not average loss
1 parent 086886e commit 79979c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_mnist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def test_mnist():
5757
name="gradient",
5858
tensorboard_logger=tensorboard_logger,
5959
metrics=dict(
60-
loss=lantern.MapMetric(lambda examples, predictions, loss: loss),
60+
loss=lantern.ReduceMetric(lambda state, examples, predictions, loss: loss),
6161
),
6262
)
6363

0 commit comments

Comments
 (0)