mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-26 13:00:58 +08:00
added arg docs
This commit is contained in:
1 parent
8be7480f31
commit
f01cb63234
1 file changed
+1
-1
@@ -116,7 +116,7 @@ class LightningTemplateModel(LightningModule):
|
||||
:param outputs: list of individual outputs of each validation step
|
||||
:return:
|
||||
"""
|
||||
return outputs.mean()
|
||||
return torch.stack(outputs).mean()
|
||||
|
||||
val_loss_mean = 0
|
||||
val_acc_mean = 0
|
||||
|
||||
Reference in new issue
Block a user