Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ update
Method
update
SwissArmyTransformer/examples/yolos/util/misc.py:39–42 ·
view source on GitHub ↗
(self, value, n=1)
Source
from the content-addressed store, hash-verified
37
self.fmt = fmt
38
39
def
update(self, value, n=1):
40
self.deque.append(value)
41
self.count += n
42
self.total += value * n
43
44
def
synchronize_between_processes(self):
45
""
"
Callers
1
log_every
Method · 0.95
Calls
1
append
Method · 0.80
Tested by
no test coverage detected