Skip to content

Commit d0ef6b4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a404940 commit d0ef6b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/tests_pytorch/tuner/test_lr_finder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,7 @@ def configure_optimizers(self):
604604
if suggestion is not None:
605605
assert suggestion > 0, "Learning rate suggestion should be positive"
606606

607+
607608
def test_gradient_correctness():
608609
"""Test that torch.gradient uses correct spacing parameter."""
609610
lr_finder = _LRFinder(mode="exponential", lr_min=1e-6, lr_max=1e-1, num_training=20)

0 commit comments

Comments
 (0)