mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
set dp as default backend
This commit is contained in:
@@ -86,7 +86,7 @@ class LightningTemplateModel(LightningModule):
|
||||
output = OrderedDict({
|
||||
'loss': loss_val
|
||||
})
|
||||
return loss_val
|
||||
return output
|
||||
|
||||
def validation_step(self, data_batch, batch_i):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user