mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-28 13:20:31 +08:00
tests pep8
This commit is contained in:
1 parent
335819e1b7
commit
ccd49cfbc5
1 file changed
+1
-2
@@ -79,7 +79,7 @@ def test_tensorboard_log_hyperparams(tmpdir):
|
||||
logger.log_hyperparams(hparams)
|
||||
|
||||
|
||||
def test_tensorboard_log_hparams_and_metrics
|
||||
def test_tensorboard_log_hparams_and_metrics(tmpdir):
|
||||
logger = TensorBoardLogger(tmpdir)
|
||||
hparams = {
|
||||
"float": 0.3,
|
||||
@@ -93,4 +93,3 @@ def test_tensorboard_log_hparams_and_metrics
|
||||
}
|
||||
metrics = {'abc': torch.tensor([0.54])}
|
||||
logger.log_hyperparams(hparams, metrics)
|
||||
|
||||
Reference in new issue
Block a user