mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
added arg docs
This commit is contained in:
@@ -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