MCPcopy Create free account
hub / github.com/Walter0807/MotionBERT / reset

Method reset

lib/utils/learning.py:13–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

11 self.reset()
12
13 def reset(self):
14 self.val = 0
15 self.avg = 0
16 self.sum = 0
17 self.count = 0
18
19 def update(self, val, n=1):
20 self.val = val

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected