Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChunmingHe/WS-SAM
/ __init__
Method
__init__
utils/utils.py:62–64 ·
view source on GitHub ↗
(self, num=40)
Source
from the content-addressed store, hash-verified
60
61
class
AvgMeter(object):
62
def
__init__(self, num=40):
63
self.num = num
64
self.reset()
65
66
def
reset(self):
67
self.val = 0
Callers
nothing calls this directly
Calls
1
reset
Method · 0.95
Tested by
no test coverage detected