mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
updated args
This commit is contained in:
@@ -65,6 +65,7 @@ class ExampleModel(RootModule):
|
||||
"""
|
||||
# forward pass
|
||||
x, y = data_batch
|
||||
print(x.shape)
|
||||
x = x.view(x.size(0), -1)
|
||||
y_hat = self.forward(x)
|
||||
|
||||
@@ -86,6 +87,7 @@ class ExampleModel(RootModule):
|
||||
:return:
|
||||
"""
|
||||
x, y = data_batch
|
||||
print(x.shape)
|
||||
x = x.view(x.size(0), -1)
|
||||
y_hat = self.forward(x)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user