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

Method set_params

python/singa/layer.py:460–463  ·  view source on GitHub ↗
(self, parameters)

Source from the content-addressed store, hash-verified

458 return {self.W.name: self.W}
459
460 def set_params(self, parameters):
461 self.W.copy_from(parameters[self.W.name])
462 if self.bias:
463 self.b.copy_from(parameters[self.b.name])
464
465
466class Embedding(Layer):

Callers

nothing calls this directly

Calls 1

copy_fromMethod · 0.45

Tested by

no test coverage detected