Description Usage Arguments See Also
View source: R/model-persistence.R
Save and re-load models configurations as JSON. Note that the representation does not include the weights, only the architecture.
1 2 3 | model_to_json(object)
model_from_json(json, custom_objects = NULL)
|
object |
Model object to save |
json |
JSON with model configuration |
custom_objects |
Optional named list mapping names to custom classes or functions to be considered during deserialization. |
Other model persistence:
get_weights()
,
model_to_yaml()
,
save_model_hdf5()
,
save_model_tf()
,
save_model_weights_hdf5()
,
serialize_model()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.