diff --git a/docs/source/results.rst b/docs/source/results.rst index 68f6fdcdb6..d3a372825a 100644 --- a/docs/source/results.rst +++ b/docs/source/results.rst @@ -110,7 +110,7 @@ can change it every batch if you want, or even monitor different metrics for eac def training_step(...): return loss def training_step(...): - return {'loss' loss} + return {'loss': loss} logging ^^^^^^^