code: def __init__(self, architecture, weight):
      super(OnnxEmitter, self).__init__()
      if os.path.exists(architecture) == False:
          raise ValueError(
              "IR architecture file [{}] is not found.".format(
                  architecture
              )
          )
      else:
          self.IR_graph = IRGraph(architecture)
          self.IR_graph.build()
  
      if os.path.exists(weight) == False:
          raise ValueError(
              "IR weight file [{}] is not found.".format(weight)
          )
      else:
          self._load_weights(weight)
  
imports: from mmdnn.conversion.common.DataStructure.emitter import Emitter
  from mmdnn.conversion.common.IR.IR_graph import IRGraph
  import os.path
  import mmdnn.conversion.common.IR.graph_pb2
  import numpy
  import sys
label_desc: Use image node_id 1 to create a new OnnxEmitter object from inherited base classes: Emitter with example: obj = OnnxEmitter(architecture, weight)