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

Method get_params

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

Source from the content-addressed store, hash-verified

1214 return y
1215
1216 def get_params(self):
1217 return {
1218 self.Wx.name: self.Wx,
1219 self.Wh.name: self.Wh,
1220 self.b.name: self.b
1221 }
1222
1223 def set_params(self, parameters):
1224 self.Wx.copy_from(parameters[self.Wx.name])

Calls

no outgoing calls