mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-29 13:30:57 +08:00
refactored model tests
This commit is contained in:
1 parent
53f1f18442
commit
3521051877
1 file changed
+1
-1
@@ -106,7 +106,7 @@ class LightningTemplateModel(LightningModule):
|
||||
print('-'*100)
|
||||
print('VAL')
|
||||
print('x: ', x.device)
|
||||
print('model: ', self.c_d1.weight.device)
|
||||
print('model: ', self.c_d1.weight.device, self.c_d1.bias.device)
|
||||
print('-'*100)
|
||||
y_hat = self.forward(x)
|
||||
|
||||
|
||||
Reference in new issue
Block a user