Skip to content

Commit 63bd058

Browse files
fix typo in forward return (Lightning-AI#2301)
1 parent f972ab3 commit 63bd058

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/child_modules.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ that change in the `Autoencoder` model are the init, forward, training, validati
4343

4444
def forward(self, x):
4545
generated = self.decoder(x)
46-
46+
return generated
47+
4748
def training_step(self, batch, batch_idx):
4849
x, _ = batch
4950

0 commit comments

Comments
 (0)