MCPcopy Create free account
hub / github.com/apache/singa / __init__

Method __init__

python/singa/opt.py:54–59  ·  view source on GitHub ↗
(self, init_value, decay_steps, decay_rate, staircase=False)

Source from the content-addressed store, hash-verified

52class ExponentialDecay(DecayScheduler):
53
54 def __init__(self, init_value, decay_steps, decay_rate, staircase=False):
55 super(ExponentialDecay, self).__init__(init_value)
56
57 self.decay_steps = decay_steps
58 self.decay_rate = decay_rate
59 self.staircase = staircase
60
61 def call(self, step):
62 if self.staircase:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected