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

Method set_states

python/singa/opt.py:329–333  ·  view source on GitHub ↗
(self, states)

Source from the content-addressed store, hash-verified

327 return states
328
329 def set_states(self, states):
330 super().set_states(states)
331 if 'moments' in states:
332 self.moments = states['moments']
333 self.mom_value = self.momentum(self.step_counter)
334
335
336class RMSProp(Optimizer):

Callers 6

set_statesMethod · 0.45
set_statesMethod · 0.45
set_statesMethod · 0.45
runMethod · 0.45
load_statesMethod · 0.45

Calls

no outgoing calls

Tested by 1