class_docstr: The :class:`Scale` class is to multiple a trainable scale value to the layer outputs. Usually be used on the output of binary net.
  
  Parameters
  ----------
  init_scale : float
      The initial value for the scale factor.
  name : a str
      A unique layer name.
  
  Examples
  ----------
  >>> inputs = tl.layers.Input([8, 3])
  >>> dense = tl.layers.Dense(n_units=10)(inputs)
  >>> outputs = tl.layers.Scale(init_scale=0.5)(dense)
  >>> model = tl.models.Model(inputs=inputs, outputs=[dense, outputs])
  >>> dense_out, scale_out = model(data, is_train=True)
code: def build(self, inputs_shape):
      self.scale = self._get_weights(
          "scale", shape=[1], init=constant(value=self.init_scale)
      )
  
file_path: TensorLayer/tensorlayer/layers/scale.py
imports: import tensorflow
  from tensorlayer import logging
  from tensorlayer.initializers import constant
  from tensorlayer.layers.core import Layer
label_desc: Use image node_id 3 for calling the Scale obj's underlying member method code with example usage: obj.build(inputs_shape) without return types