Model configuration as YAML
Save and re-load models configurations as YAML Note that the representation does not include the weights, only the architecture.
model_to_yaml(object) model_from_yaml(yaml, custom_objects = NULL)
Model object to save
YAML with model configuration
Optional named list mapping names to custom classes or functions to be considered during deserialization.