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