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

Method set_params

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

Source from the content-addressed store, hash-verified

502 return {self.W.name: self.W}
503
504 def set_params(self, parameters):
505 self.W.copy_from(parameters[self.W.name])
506
507
508class Conv2d(Layer):

Callers 1

from_pretrainedMethod · 0.95

Calls 1

copy_fromMethod · 0.45

Tested by

no test coverage detected