docstr: Load an existing BigDL model defined in Keras-style(with weights).
  
  :param model_path: The path to load the saved model.
                    Local file system, HDFS and Amazon S3 are supported.
                    HDFS path should be like 'hdfs://[host]:[port]/xxx'.
                    Amazon S3 path should be like 's3a://bucket/xxx'.
  :param weight_path: The path for pre-trained weights if any. Default is None.
  :return: A BigDL model.
docstr_tok: ["Load","an","existing","BigDL","model","defined","in","Keras-style","(","with","weights",")",".",":","param","model_path",":","The","path","to","load","the","saved","model",".","Local","file","system",",","HDFS","and","Amazon","S3","are","supported",".","HDFS","path","should","be","like","'hdfs",":","\/\/","[","host","]",":","[","port","]","\/xxx","'",".","Amazon","S3","path","should","be","like","'s3a",":","\/\/bucket\/xxx","'",".",":","param","weight_path",":","The","path","for","pre-trained","weights","if","any",".","Default","is","None",".",":","return",":","A","BigDL","model","."]
code: def load(model_path, weight_path=None, bigdl_type="float"):
      """
      Load an existing BigDL model defined in Keras-style(with weights).
  
      :param model_path: The path to load the saved model.
                        Local file system, HDFS and Amazon S3 are supported.
                        HDFS path should be like 'hdfs://[host]:[port]/xxx'.
                        Amazon S3 path should be like 's3a://bucket/xxx'.
      :param weight_path: The path for pre-trained weights if any. Default is None.
      :return: A BigDL model.
      """
      jmodel = callZooFunc(
          bigdl_type, "netLoad", model_path, weight_path
      )
      return Net.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 3 for calling the Net obj's underlying member method code with example usage: obj.load(model_path, weight_path, bigdl_type) and returns: Net