MCPcopy Create free account
hub / github.com/ZinYY/TreeLoRA / __init__

Method __init__

utils/utils.py:32–35  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30class MovingAverage:
31
32 def __init__(self):
33 self.count = 0
34 self.total = 0
35 self.mean = 0
36
37 def update(self, num):
38 self.total += num

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected