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

Method median

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

Source from the content-addressed store, hash-verified

70
71 @property
72 def median(self):
73 d = torch.tensor(list(self.deque))
74 return d.median().item()
75
76 @property
77 def avg(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected