code: def __init__(self, model):
      from six import string_types as _string_types
  
      super(CaffeEmitter, self).__init__()
      if isinstance(model, _string_types):
          network_path = model
      else:
          network_path = model[0]
          self._load_weights(model[1])
  
      self.IR_graph = IRGraph(network_path)
      super(CaffeEmitter, self)._build()
  
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 1 to create a new CaffeEmitter object from inherited base classes: Emitter with example: obj = CaffeEmitter(model)