code: def __init__(self, init_value=1.0, lr_mult=1):
      super().__init__()
      self.lr_mult = lr_mult
      self.scale = nn.Parameter(
          torch.full((1,), init_value / lr_mult, dtype=torch.float32)
      )
  
imports: import torch
  import torch.nn
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)