MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / reset

Method reset

PATH/core/utils.py:43–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41 self.reset()
42
43 def reset(self):
44 self.history = []
45 self.val = 0
46 self.avg = 0
47
48 def empty(self):
49 return len(self.history) == 0

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected