code: def _load_keras_model(
      model_network_path, model_weight_path, custom_objects=None
  ):
      """Load a keras model from disk
  
      Parameters
      ----------
      model_network_path: str
          Path where the model network path is (json file)
  
      model_weight_path: str
          Path where the model network weights are (hd5 file)
  
      custom_objects:
          A dictionary of layers or other custom classes
          or functions used by the model
  
      Returns
      -------
      model: A keras model
      """
      from keras.models import model_from_json
      import json
  
      # Load the model network
      json_file = open(model_network_path, "r")
      json_string = json_file.read()
      json_file.close()
      loaded_model_json = json.loads(json_string)
  
      if not custom_objects:
          custom_objects = {}
  
      # Load the model weights
      loaded_model = model_from_json(
          loaded_model_json, custom_objects=custom_objects
      )
      loaded_model.load_weights(model_weight_path)
  
      return loaded_model
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/keras/_keras_converter.py
imports: from six import string_types
  from ...models.neural_network import NeuralNetworkBuilder
  from ...proto import FeatureTypes_pb2
  from collections import OrderedDict
  from ...models import datatypes, _METADATA_VERSION, _METADATA_SOURCE
  from ...models import MLModel
  from ...models import _MLMODEL_FULL_PRECISION, _MLMODEL_HALF_PRECISION, _VALID_MLMODEL_PRECISION_TYPES
  from ...models.utils import _convert_neural_network_spec_weights_to_fp16
  from ..._deps import _HAS_KERAS_TF
  from ..._deps import _HAS_KERAS2_TF
  from coremltools import __version__
label_desc: Use image node_id 3 for calling a global function with example usage: _load_keras_model(model_network_path, model_weight_path, custom_objects) and returns: loaded_model