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

Method get_params

python/singa/layer.py:872–873  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

870 return y
871
872 def get_params(self):
873 return {self.scale.name: self.scale, self.bias.name: self.bias}
874
875 def set_params(self, parameters):
876 self.scale.copy_from(parameters[self.scale.name])

Callers 1

get_statesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected