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

Method clear

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

Source from the content-addressed store, hash-verified

67 self._count = 0
68
69 def clear(self):
70 self._deque.clear()
71
72
73class MeterBuffer(defaultdict):

Callers 5

resetMethod · 0.45
clear_metersMethod · 0.45
updateFunction · 0.45
reconstructMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected