MCPcopy Index your code
hub / github.com/microsoft/Cream / update

Method update

EfficientViT/classification/utils.py:28–31  ·  view source on GitHub ↗
(self, value, n=1)

Source from the content-addressed store, hash-verified

26 self.fmt = fmt
27
28 def update(self, value, n=1):
29 self.deque.append(value)
30 self.count += n
31 self.total += value * n
32
33 def synchronize_between_processes(self):
34 """

Callers 1

log_everyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected