Fixing Function Signatures (#871)

This commit is contained in:
Shikhar Chauhan 2020-02-17 14:10:10 +01:00 committed by GitHub
parent a33beb6ebf
commit f44dfb3e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ To plot metrics into whatever logger you passed in (tensorboard, comet, neptune,
.. code-block:: python
def training_end(self, batch, batch_idx):
def training_end(self, outputs):
loss = some_loss()
...
@ -46,7 +46,7 @@ To plot metrics into whatever logger you passed in (tensorboard, comet, neptune,
results = {'log': logs}
return results
def validation_end(self, batch, batch_idx):
def validation_end(self, outputs):
loss = some_loss()
...
@ -54,7 +54,7 @@ To plot metrics into whatever logger you passed in (tensorboard, comet, neptune,
results = {'log': logs}
return results
def test_end(self, batch, batch_idx):
def test_end(self, outputs):
loss = some_loss()
...
@ -99,7 +99,7 @@ Here we show the validation loss in the progress bar
.. code-block:: python
def validation_end(self, batch, batch_idx):
def validation_end(self, outputs):
loss = some_loss()
...