MCPcopy Create free account
hub / github.com/lingeringlight/START / avg

Method avg

utils.py:55–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53
54 @property
55 def avg(self):
56 d = torch.tensor(list(self.deque), dtype=torch.float32)
57 return d.mean().item()
58
59 @property
60 def global_avg(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected