Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RozDavid/UnScene3D
/ reset
Method
reset
utils/utils.py:423–427 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
421
self.reset()
422
423
def
reset(self):
424
self.val = 0
425
self.avg = 0
426
self.sum = 0
427
self.count = 0
428
429
def
update(self, val, n=1):
430
self.val = val
Callers
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected