MCPcopy Create free account
hub / github.com/Newmu/dcgan_code / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers 7

__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

no outgoing calls

Tested by

no test coverage detected