docstr: Load a pre-trained Keras model.
  
  :param json_path: The json path containing the keras model definition. Default is None.
  :param hdf5_path: The HDF5 path containing the pre-trained keras model weights
                  with or without the model architecture. Default is None.
  :param by_name: by default the architecture should be unchanged.
                  If set as True, only layers with the same name will be loaded.
  :return: A BigDL model.
docstr_tok: ["Load","a","pre-trained","Keras","model",".",":","param","json_path",":","The","json","path","containing","the","keras","model","definition",".","Default","is","None",".",":","param","hdf5_path",":","The","HDF5","path","containing","the","pre-trained","keras","model","weights","with","or","without","the","model","architecture",".","Default","is","None",".",":","param","by_name",":","by","default","the","architecture","should","be","unchanged",".","If","set","as","True",",","only","layers","with","the","same","name","will","be","loaded",".",":","return",":","A","BigDL","model","."]
code: def load_keras(json_path=None, hdf5_path=None, by_name=False):
      """
      Load a pre-trained Keras model.
  
      :param json_path: The json path containing the keras model definition. Default is None.
      :param hdf5_path: The HDF5 path containing the pre-trained keras model weights
                      with or without the model architecture. Default is None.
      :param by_name: by default the architecture should be unchanged.
                      If set as True, only layers with the same name will be loaded.
      :return: A BigDL model.
      """
      return BModel.load_keras(json_path, hdf5_path, by_name)
  
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 6 for calling the Net obj's underlying member method code with example usage: obj.load_keras(json_path, hdf5_path, by_name) and returns: BModel