code: def emit_BatchNorm(self, IR_node):
      self.add_body(
          1,
          "n.{:<15} = L.BatchNorm(n.{}, eps={}, use_global_stats={}, ntop=1)".format(
              IR_node.variable_name,
              self.parent_variable_name(IR_node),
              IR_node.get_attr("epsilon"),
              self.phase == "test",
          ),
      )
  
      scale_layer_var_name = IR_node.variable_name + "_scale"
      self.add_body(
          1,
          "n.{:<15} = L.Scale(n.{}, bias_term={}, in_place=True, ntop=1)".format(
              scale_layer_var_name,
              IR_node.variable_name,
              IR_node.get_attr("bias", False),
          ),
      )
  
      if self.weight_loaded:
          self.weights_dict[scale_layer_var_name] = dict()
          if "scale" in self.weights_dict[IR_node.name]:
              self.weights_dict[scale_layer_var_name][
                  "scale"
              ] = self.weights_dict[IR_node.name]["scale"]
          else:
              self.weights_dict[scale_layer_var_name]["scale"] = 1
  
          self.weights_dict[IR_node.name]["scale"] = 1
  
          if "bias" in self.weights_dict[IR_node.name]:
              self.weights_dict[scale_layer_var_name][
                  "bias"
              ] = self.weights_dict[IR_node.name]["bias"]
              self.weights_dict[IR_node.name].pop("bias", None)
              # change the key "name" to "variable_name", in case of the layer name has invalid characters
  
          self.weights_dict[
              IR_node.variable_name
          ] = self.weights_dict.pop(IR_node.name)
  
      IR_node.real_name = IR_node.name + "_scale"
  
imports: from __future__ import division
  import os
  import sys
  import math
  import numpy
  import caffe
  from caffe import layers
  from caffe import params
  from mmdnn.conversion.common.IR.IR_graph import IRGraph, IRGraphNode
  import mmdnn.conversion.common.IR.graph_pb2
  from mmdnn.conversion.common.IR.graph_pb2 import NodeDef, GraphDef, DataType
  from mmdnn.conversion.common.DataStructure.emitter import Emitter
  from mmdnn.conversion.common.utils import *
label_desc: Use image node_id 19 for calling the CaffeEmitter obj's underlying member method code with example usage: obj.emit_BatchNorm(IR_node) without return types