code: def test_scale(self):
      inputs = tl.layers.Input([8, 3])
      dense = tl.layers.Dense(n_units=10)(inputs)
      scalelayer = tl.layers.Scale(init_scale=0.5)
      outputs = scalelayer(dense)
      model = tl.models.Model(inputs=inputs, outputs=[dense, outputs])
  
      print(scalelayer)
  
      data = np.random.random(size=[8, 3]).astype(np.float32)
      dout, fout = model(data, is_train=True)
  
      for i in range(len(dout)):
          for j in range(len(dout[i])):
              self.assertEqual(
                  dout[i][j].numpy() * 0.5, fout[i][j].numpy()
              )
  
file_path: TensorLayer/tests/layers/test_layers_scale.py
imports: import os
  import unittest
  import numpy
  import tensorflow
  import tensorlayer
  from tests.utils import CustomTestCase
label_desc: Use image node_id 3 for calling the Layer_Scale_Test obj's underlying member method code with example usage: obj.test_scale() without return types