code: def rename_upsample(self, source_node):
      IR_node = self._convert_identity_operation(
          source_node, new_op="UpSampling2D"
      )
      scales = source_node.get_attr("scales")
      kwargs = {}
      kwargs["scales"] = scales
  
      assign_IRnode_values(IR_node, kwargs)
  
imports: import os
  import numpy
  from mmdnn.conversion.common.utils import *
  from mmdnn.conversion.darknet.prototxt import *
  from mmdnn.conversion.darknet.darknet_utils import *
  from mmdnn.conversion.darknet.darknet_graph import DarknetGraph
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.DataStructure.parser import Parser
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
label_desc: Use image node_id 16 for calling the DarknetParser obj's underlying member method code with example usage: obj.rename_upsample(source_node) without return types