docstr: Load a pre-trained Caffe model.
  
  :param def_path: The path containing the caffe model definition.
  :param model_path: The path containing the pre-trained caffe model.
  :return: A pre-trained model.
docstr_tok: ["Load","a","pre-trained","Caffe","model",".",":","param","def_path",":","The","path","containing","the","caffe","model","definition",".",":","param","model_path",":","The","path","containing","the","pre-trained","caffe","model",".",":","return",":","A","pre-trained","model","."]
code: def load_caffe(def_path, model_path, bigdl_type="float"):
      """
      Load a pre-trained Caffe model.
  
      :param def_path: The path containing the caffe model definition.
      :param model_path: The path containing the pre-trained caffe model.
      :return: A pre-trained model.
      """
      jmodel = callZooFunc(
          bigdl_type, "netLoadCaffe", def_path, model_path
      )
      return GraphNet.from_jvalue(jmodel, bigdl_type)
  
file_path: BigDL/python/dllib/src/bigdl/dllib/net/net_load.py
imports: import importlib
  import os
  import sys
  from bigdl.dllib.utils.file_utils import callZooFunc
  from bigdl.dllib.nn.layer import Model
  from bigdl.dllib.net.graph_net import GraphNet
  from bigdl.dllib.utils.log4Error import *
label_desc: Use image node_id 5 for calling the Net obj's underlying member method code with example usage: obj.load_caffe(def_path, model_path, bigdl_type) and returns: GraphNet