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

Method set_params

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

Source from the content-addressed store, hash-verified

356 return {self.W.name: self.W}
357
358 def set_params(self, parameters):
359 self.W.copy_from(parameters[self.W.name])
360 if self.bias:
361 self.b.copy_from(parameters[self.b.name])
362
363
364class Gemm(Layer):

Callers

nothing calls this directly

Calls 1

copy_fromMethod · 0.45

Tested by

no test coverage detected