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

Method __init__

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

Source from the content-addressed store, hash-verified

60class SGD(Update):
61
62 def __init__(self, lr=0.01, *args, **kwargs):
63 Update.__init__(self, *args, **kwargs)
64 self.__dict__.update(locals())
65
66 def __call__(self, params, cost):
67 updates = []

Callers 8

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected