Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HobbitLong/SupContrast
/ __init__
Method
__init__
util.py:20–21 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
18
class
AverageMeter(object):
19
""
"Computes and stores the average and current value"
""
20
def
__init__(self):
21
self.reset()
22
23
def
reset(self):
24
self.val = 0
Callers
nothing calls this directly
Calls
1
reset
Method · 0.95
Tested by
no test coverage detected