MCPcopy
hub / github.com/Audio-AGI/AudioSep / reset

Method reset

models/CLAP/training/train.py:28–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

26 self.reset()
27
28 def reset(self):
29 self.val = 0
30 self.avg = 0
31 self.sum = 0
32 self.count = 0
33
34 def update(self, val, n=1):
35 self.val = val

Callers 2

__init__Method · 0.95
train_one_epochFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected