We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ec9d6 commit edb9e2fCopy full SHA for edb9e2f
tests/models/test_hparams.py
@@ -677,7 +677,7 @@ def test_empty_hparams_container(tmpdir):
677
assert not model.hparams
678
679
680
-def test_hparams_name(tmpdir):
+def test_hparams_name_from_container(tmpdir):
681
"""Test that save_hyperparameters(container) captures the name of the argument correctly."""
682
model = HparamsKwargsContainerModel(a=1, b=2)
683
assert model._hparams_name is None
0 commit comments