MCPcopy Create free account
hub / github.com/SLDGroup/EMCAD / show

Method show

utils/utils.py:68–69  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 self.losses.append(val)
67
68 def show(self):
69 return torch.mean(torch.stack(self.losses[np.maximum(len(self.losses)-self.num, 0):]))
70
71def CalParams(model, input_tensor):
72 """

Callers 1

trainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected