Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AtlasAnalyticsLab/AdaFisher
/ reset
Method
reset
Image_Classification/src/train.py:470–474 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
468
self.reset()
469
470
def
reset(self):
471
self.val = 0
472
self.avg = 0
473
self.sum = 0
474
self.count = 0
475
476
def
update(self, val: float, n: int = 1):
477
self.val = val
Callers
2
__init__
Method · 0.95
reset
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected