Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicarchitects/equiformer_v2
/ reset
Method
reset
engine.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
1
__init__
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected