code: def __init__(self, nodes=None, name=None):
      self.nodes = nodes or []
      self.node_lut = {node.name: node for node in self.nodes}
      self.name = name
      self.prototxt = None
  
imports: from collections import namedtuple
  from functools import reduce
  from google.protobuf import text_format
  from copy import deepcopy
  import numbers
  import os
  import tempfile
  from mmdnn.conversion.caffe.mapper import get_handler_name
  from mmdnn.conversion.caffe.resolver import get_caffe_resolver, has_pycaffe
  from mmdnn.conversion.caffe.shape import *
  from mmdnn.conversion.caffe.errors import print_stderr, ConversionError
label_desc: Use image node_id 1 to create a new CaffeGraph object from inherited base classes: object with example: obj = CaffeGraph(nodes, name)