code: def __init__(self, model):
      from coremltools.proto import Model_pb2
  
      # sanity check.
      if not isinstance(model, Model_pb2.Model):
          raise TypeError(
              "Coreml layer of type %s is not supported." % type(model)
          )
      super(CoremlGraph, self).__init__(model)
      self.model = model
  
file_path: MMdnn/mmdnn/conversion/coreml/coreml_graph.py
imports: import os
  import coremltools
  from mmdnn.conversion.common.DataStructure.graph import GraphNode, Graph
label_desc: Use image node_id 1 to create a new CoremlGraph object from inherited base classes: Graph with example: obj = CoremlGraph(model)