Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CausalLearning/robust-unlearnable-examples
/ __init__
Method
__init__
utils/generic.py:17–20 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
15
16
class
AverageMeter():
17
def
__init__(self):
18
self.cnt = 0
19
self.sum = 0
20
self.mean = 0
21
22
def
update(self, val, cnt):
23
self.cnt += cnt
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected