code: def _get_padding(IR_node):
      auto_pad = IR_node.get_attr("auto_pad")
      if auto_pad is not None:
          if auto_pad == "VALID":
              pass
          else:
              return "SAME"
  
      pads = IR_node.get_attr("pads", [0, 0, 0, 0, 0, 0, 0, 0])
  
      return pads
  
imports: from __future__ import division
  import os
  import numpy
  from six import string_types
  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 *
  from mmdnn.conversion.coreml.coreml_utils import _infer_coreml_input_shape
  from coremltools.models.neural_network import NeuralNetworkBuilder
  from coremltools.models import datatypes
  from coremltools.models import MLModel
  from coremltools.models.utils import save_spec
label_desc: Use image node_id 5 for calling the CoreMLEmitter obj's underlying member method code with example usage: obj._get_padding(IR_node) and returns: pads, str