Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/showlab/Show-o
/ reset
Method
reset
show-o2/utils.py:96–100 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
94
self.reset()
95
96
def
reset(self):
97
self.val = 0
98
self.avg = 0
99
self.sum = 0
100
self.count = 0
101
102
def
update(self, val, n=1):
103
self.val = val
Callers
4
__init__
Method · 0.95
main
Function · 0.95
main
Function · 0.95
main
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected