Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cure-lab/deep-active-learning
/ reset
Method
reset
utils.py:29–33 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
27
self.reset()
28
29
def
reset(self):
30
self.val = 0
31
self.avg = 0
32
self.sum = 0
33
self.count = 0
34
35
def
update(self, val, n=1):
36
self.val = val
Callers
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected