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

Method reset

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

Source from the content-addressed store, hash-verified

91 self.delta1s.append(delta1)
92
93 def reset(self):
94 self.delta1s = []
95 self.relabs = []
96
97 def aggregate(self):
98 delta1 = torch.stack(self.delta1s).mean()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected