Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenDriveLab/ReSim
/ avg
Method
avg
SwissArmyTransformer/examples/mae/util/misc.py:61–63 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
59
60
@property
61
def
avg(self):
62
d = torch.tensor(list(self.deque), dtype=torch.float32)
63
return
d.mean().item()
64
65
@property
66
def
global_avg(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected