Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
73
class
MeterBuffer(defaultdict):
Callers
5
reset
Method · 0.45
clear_meters
Method · 0.45
update
Function · 0.45
reconstruct
Method · 0.45
_simplify_context_list
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected