MCPcopy Create free account
hub / github.com/CompVis/diff2flow / aggregate

Method aggregate

diff2flow/metrics.py:97–101  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95 self.relabs = []
96
97 def aggregate(self):
98 delta1 = torch.stack(self.delta1s).mean()
99 relabs = torch.stack(self.relabs).mean()
100 out = dict(delta1=delta1, relabs=relabs)
101 return out

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected