code: def import_caffe(self):
      self.caffe = None
  
      try:
          import caffe
  
          self.caffe = caffe
      except ImportError:
          # Fall back to the protobuf implementation
          from mmdnn.conversion.caffe import caffe_pb2
  
          self.caffepb = caffe_pb2
          show_fallback_warning()
      if self.caffe:
          self.caffepb = self.caffe.proto.caffe_pb2
      self.NetParameter = self.caffepb.NetParameter
  
file_path: MMdnn/mmdnn/conversion/caffe/resolver.py
imports: import sys
label_desc: Use image node_id 2 for calling the CaffeResolver obj's underlying member method code with example usage: obj.import_caffe() without return types