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

Method get_params

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

Source from the content-addressed store, hash-verified

452 return y
453
454 def get_params(self):
455 if self.bias:
456 return {self.W.name: self.W, self.b.name: self.b}
457 else:
458 return {self.W.name: self.W}
459
460 def set_params(self, parameters):
461 self.W.copy_from(parameters[self.W.name])

Callers 1

_gemm_helperMethod · 0.95

Calls

no outgoing calls

Tested by 1

_gemm_helperMethod · 0.76