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

Method __init__

lib/updates.py:76–78  ·  view source on GitHub ↗
(self, lr=0.01, momentum=0.9, *args, **kwargs)

Source from the content-addressed store, hash-verified

74class Momentum(Update):
75
76 def __init__(self, lr=0.01, momentum=0.9, *args, **kwargs):
77 Update.__init__(self, *args, **kwargs)
78 self.__dict__.update(locals())
79
80 def __call__(self, params, cost):
81 updates = []

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected