MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / load_keras_model

Function load_keras_model

tensorlayer/files/utils.py:142–151  ·  view source on GitHub ↗
(model_config)

Source from the content-addressed store, hash-verified

140
141@keras_export('keras.models.load_model')
142def load_keras_model(model_config):
143
144 custom_objects = {}
145
146 if model_config is None:
147 raise ValueError('No model found in config.')
148 model_config = json.loads(model_config.decode('utf-8'))
149 model = model_config_lib.model_from_config(model_config, custom_objects=custom_objects)
150
151 return model
152
153
154def save_hdf5_graph(network, filepath='model.hdf5', save_weights=False, customized_data=None):

Callers 1

eval_layerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…