code: def __init__(self, init_value=1.0, lr_mult=1):
      super().__init__()
      self.lr_mult = lr_mult
      self.scale = self.create_parameter(
          shape=[1],
          dtype="float32",
          default_initializer=nn.initializer.Constant(
              init_value / lr_mult
          ),
      )
  
file_path: PaddleSeg/EISeg/eiseg/inference/predictor/ops.py
imports: import paddle
  import paddle.nn
  import numpy
label_desc: Use image node_id 1 to create a new ScaleLayer object from inherited base classes: nn with example: obj = ScaleLayer(init_value, lr_mult)