MCPcopy
hub / github.com/junyanz/iGAN / __init__

Method __init__

lib/updates.py:80–82  ·  view source on GitHub ↗
(self, lr=0.01, *args, **kwargs)

Source from the content-addressed store, hash-verified

78class SGDSimple(Update):
79
80 def __init__(self, lr=0.01, *args, **kwargs):
81 Update.__init__(self, *args, **kwargs)
82 self.__dict__.update(locals())
83
84 def __call__(self, params, cost):
85 updates = []

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
updateMethod · 0.45

Tested by

no test coverage detected