mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-26 13:00:58 +08:00
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:
1 parent
63717e8fda
commit
3a58937d8b
30 files changed
+326
-290
No files matched your search
@@ -31,7 +31,7 @@ def main(hparams):
|
||||
# ------------------------
|
||||
trainer = Trainer(
|
||||
gpus=2,
|
||||
nb_gpu_nodes=2,
|
||||
num_nodes=2,
|
||||
distributed_backend='ddp2'
|
||||
)
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ def main(hparams):
|
||||
# ------------------------
|
||||
trainer = Trainer(
|
||||
gpus=2,
|
||||
nb_gpu_nodes=2,
|
||||
num_nodes=2,
|
||||
distributed_backend='ddp'
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user