Fix docstring (#2884)

* Fix docstring

"mean absolute loss" rather than "root mean absolute loss"

* minor docstring fix

Co-authored-by: rohitgr7 <rohitgr1998@gmail.com>
This commit is contained in:
Krzysztof Woś 2020-08-08 20:58:18 +09:00 committed by GitHub
parent f798cffd02
commit 6ebe0d7266
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -47,11 +47,11 @@ class Callback(abc.ABC):
pass
def on_train_batch_start(self, trainer, pl_module, batch, batch_idx, dataloader_idx):
"""Called when the validation batch begins."""
"""Called when the train batch begins."""
pass
def on_train_batch_end(self, trainer, pl_module, batch, batch_idx, dataloader_idx):
"""Called when the validation batch ends."""
"""Called when the train batch ends."""
pass
def on_train_epoch_start(self, trainer, pl_module):

View File

@ -101,7 +101,7 @@ class RMSE(Metric):
class MAE(Metric):
"""
Computes the root mean absolute loss or L1-loss.
Computes the mean absolute loss or L1-loss.
Example: