Skip to content

Commit 6c00b9e

Browse files
Bordajustusschock
andcommitted
revert
Co-authored-by: Justus Schock <[email protected]>
1 parent 54f9200 commit 6c00b9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pl_examples/bug_report_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def loss(self, batch, prediction):
7979
# An arbitrary loss to have a loss that updates the model weights during `Trainer.fit` calls
8080
return torch.nn.functional.mse_loss(prediction, torch.ones_like(prediction))
8181

82-
def _step(self, x):
82+
def step(self, x):
8383
x = self.layer(x)
8484
out = torch.nn.functional.mse_loss(x, torch.ones_like(x))
8585
return out

0 commit comments

Comments
 (0)