Skip to content

Commit 15052fb

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests_pytorch/trainer/optimization/test_optimizers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,9 +672,9 @@ def forward(self, x):
672672

673673
def training_step(self, batch, batch_idx):
674674
return {"loss": torch.tensor(0.1, requires_grad=True)}
675-
675+
676676
def train_dataloader(self):
677-
x = torch.randn(21, 32)
677+
x = torch.randn(21, 32)
678678
y = torch.randn(21, 2)
679679
return DataLoader(TensorDataset(x, y), batch_size=3)
680680

0 commit comments

Comments
 (0)