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:
@@ -63,6 +63,7 @@ class ExampleModel(RootModule):
|
||||
:param data_batch:
|
||||
:return:
|
||||
"""
|
||||
pdb.set_trace()
|
||||
# forward pass
|
||||
x, y = data_batch
|
||||
x = x.view(x.size(0), -1)
|
||||
@@ -80,6 +81,7 @@ class ExampleModel(RootModule):
|
||||
:param data_batch:
|
||||
:return:
|
||||
"""
|
||||
pdb.set_trace()
|
||||
x, y = data_batch
|
||||
x = x.view(x.size(0), -1)
|
||||
y_hat = self.forward(x)
|
||||
|
||||
Reference in New Issue
Block a user