MCPcopy Create free account
hub / github.com/OpenMeshLab/MeshXL / avg

Method avg

utils/misc.py:77–79  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

75
76 @property
77 def avg(self):
78 d = torch.tensor(list(self.deque), dtype=torch.float32)
79 return d.mean().item()
80
81 @property
82 def global_avg(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected