rename variables nb -> num (#567)

* rename nb -> num

* flake8

* batch_nb, epoch_nb, gpu_nb, split_nb

* add _num deprecations
This commit is contained in:
Jirka Borovec
2019-12-04 06:57:10 -05:00
committed by William Falcon
parent 63717e8fda
commit 3a58937d8b
30 changed files with 326 additions and 290 deletions
+4 -5
View File
@@ -21,12 +21,11 @@ class LightningLoggerBase(object):
def __init__(self):
self._rank = 0
def log_metrics(self, metrics, step_num):
"""Record metrics
def log_metrics(self, metrics, step_idx):
"""Record metrics.
:param metric: Dictionary with metric names as keys and measured
quanties as values
:param step_num: Step number at which the metrics should be recorded
:param float metric: Dictionary with metric names as keys and measured quanties as values
:param int|None step_idx: Step number at which the metrics should be recorded
"""
raise NotImplementedError()