Example #1
0
 def build(self, inputs_shape):
     self.scale = self._get_weights("scale",
                                    shape=[1],
                                    init=constant(value=self.init_scale))
Example #2
0
 def build(self, inputs_shape):
     self.scale = self._get_weights("scale", shape=[1], init=constant(value=self.init_scale))