model_to_yaml: Model configuration as YAML

Description Usage Arguments See Also

View source: R/model-persistence.R

Description

Save and re-load models configurations as YAML Note that the representation does not include the weights, only the architecture.

Usage

1
2
3
model_to_yaml(object)

model_from_yaml(yaml, custom_objects = NULL)

Arguments

object

Model object to save

yaml

YAML with model configuration

custom_objects

Optional named list mapping names to custom classes or functions to be considered during deserialization.

See Also

Other model persistence: get_weights(), model_to_json(), save_model_hdf5(), save_model_tf(), save_model_weights_hdf5(), serialize_model()


dfalbel/keras documentation built on Nov. 27, 2019, 8:16 p.m.