code: def rename_scale(self, coreml_node):
      IR_node = self.IR_graph.node.add()
  
      coreml_node_layer = coreml_node.layer
      coreml_node_scale = coreml_node_layer.scale
  
      # name, op
      CoremlParser._copy_and_reop(coreml_node, IR_node, "Scale")
  
      # input edge
      self.convert_inedge(coreml_node, IR_node)
  
      # bias
      IR_node.attr["use_bias"].b = coreml_node_scale.hasBias
  
      IR_node.attr["scale"].b = True
  
      self.set_weight(
          coreml_node_layer.name,
          "scale",
          np.array(coreml_node_scale.scale.floatValue).astype(
              np.float32
          ),
      )
      self.set_weight(
          coreml_node_layer.name,
          "scale_mean",
          np.zeros_like(coreml_node_scale.scale.floatValue).astype(
              np.float32
          ),
      )
      self.set_weight(
          coreml_node_layer.name,
          "scale_var",
          np.ones_like(coreml_node_scale.scale.floatValue).astype(
              np.float32
          ),
      )
  
      self.set_weight(
          coreml_node_layer.name,
          "shapeScale",
          coreml_node_scale.shapeScale[0],
      )
  
      if IR_node.attr["use_bias"].b:
          self.set_weight(
              coreml_node_layer.name,
              "bias",
              np.array(coreml_node_scale.bias.floatValue).astype(
                  np.float32
              ),
          )
          self.set_weight(
              coreml_node_layer.name,
              "shapeBias",
              coreml_node_scale.shapeBias[0],
          )
  
imports: import os
  from six import string_types
  import numpy
  import math
  from coremltools.models.neural_network import NeuralNetworkBuilder
  from coremltools.models import datatypes
  from coremltools.models import MLModel
  from coremltools.models.utils import save_spec
  from coremltools.models._infer_shapes_nn_mlmodel import infer_shapes
  from coremltools.proto import Model_pb2, NeuralNetwork_pb2
  from mmdnn.conversion.coreml.coreml_graph import CoremlGraph
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
  from mmdnn.conversion.common.DataStructure.parser import Parser
  from mmdnn.conversion.common.utils import *
label_desc: Use image node_id 20 for calling the CoremlParser obj's underlying member method code with example usage: obj.rename_scale(coreml_node) without return types