Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/showlab/ShowUI
/ reset
Method
reset
utils/utils.py:77–81 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
75
self.reset()
76
77
def
reset(self):
78
self.val = 0
79
self.avg = 0
80
self.sum = 0
81
self.count = 0
82
83
def
update(self, val, n=1):
84
self.val = val
Callers
2
__init__
Method · 0.95
train
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected