MCPcopy Create free account
hub / github.com/Yasoz/DiffTraj / __init__

Method __init__

utils/EMA.py:7–9  ·  view source on GitHub ↗
(self, mu=0.999)

Source from the content-addressed store, hash-verified

5
6class EMAHelper(object):
7 def __init__(self, mu=0.999):
8 self.mu = mu
9 self.shadow = {}
10
11 def register(self, module):
12 if isinstance(module, nn.DataParallel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected