docstr: Load a pre-trained BigDL model.
  
  :param model_path: The path to the pre-trained model.
  :param weight_path: The path to the weights of the pre-trained model. Default is None.
  :return: A pre-trained model.
docstr_tok: ["Load","a","pre-trained","BigDL","model",".",":","param","model_path",":","The","path","to","the","pre-trained","model",".",":","param","weight_path",":","The","path","to","the","weights","of","the","pre-trained","model",".","Default","is","None",".",":","return",":","A","pre-trained","model","."]
code: def load_bigdl(model_path, weight_path=None, bigdl_type="float"):
      """
      Load a pre-trained BigDL model.
  
      :param model_path: The path to the pre-trained model.
      :param weight_path: The path to the weights of the pre-trained model. Default is None.
      :return: A pre-trained model.
      """
      jmodel = callZooFunc(
          bigdl_type, "netLoadBigDL", model_path, weight_path
      )
      return GraphNet.from_jvalue(jmodel)
  
file_path: analytics-zoo/pyzoo/zoo/pipeline/api/net/net_load.py
imports: import importlib
  import os
  import sys
  from zoo.common.utils import callZooFunc
  from bigdl.nn.layer import Model
  from zoo.pipeline.api.net.graph_net import GraphNet
label_desc: Use image node_id 2 for calling the Net obj's underlying member method code with example usage: obj.load_bigdl(model_path, weight_path, bigdl_type) and returns: GraphNet