Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Francis-Rings/StableAnimator
/ reset
Method
reset
animation/helper/utils/utils_logging.py:17–21 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
15
self.reset()
16
17
def
reset(self):
18
self.val = 0
19
self.avg = 0
20
self.sum = 0
21
self.count = 0
22
23
def
update(self, val, n=1):
24
self.val = val
Callers
2
__init__
Method · 0.95
__call__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected