MCPcopy Create free account
hub / github.com/modelscope/modelscope / reset

Method reset

modelscope/utils/metric.py:64–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

62 return self._total
63
64 def reset(self):
65 self._deque.clear()
66 self._total = 0.0
67 self._count = 0
68
69 def clear(self):
70 self._deque.clear()

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected