MCPcopy Index your code
hub / github.com/OpenMeshLab/MeshXL / update

Method update

utils/misc.py:53–56  ·  view source on GitHub ↗
(self, value, n=1)

Source from the content-addressed store, hash-verified

51 self.fmt = fmt
52
53 def update(self, value, n=1):
54 self.deque.append(value)
55 self.count += n
56 self.total += value * n
57
58 def synchronize_between_processes(self):
59 """

Callers 5

do_trainFunction · 0.95
evaluateFunction · 0.95
evaluateFunction · 0.95
forwardMethod · 0.80
forwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected