This commit is contained in:
William Falcon authored and GitHub committed 2019-09-26 09:13:00 -04:00
1 parent b0a0a47a0b
commit 3337c0237b
1 file changed
+1 -1
@@ -145,7 +145,7 @@ def training_step(self, batch, batch_nb):
output = {
'loss': loss, # required
'progress': {'training_loss': loss, 'batch_nb': batch_nb} # optional
'progress': {'training_loss': loss} # optional (MUST ALL BE TENSORS)
}
# return a dict