Serialize a model to disk.
# S3 method for keras.engine.training.Model
export_savedmodel(object,
export_dir_base, overwrite = TRUE, versioned = !overwrite,
remove_learning_phase = TRUE, as_text = FALSE, ...)
An R object.
A string containing a directory in which to export the SavedModel.
Should the export_dir_base
directory be overwritten?
Should the model be exported under a versioned subdirectory?
Should the learning phase be removed by saving
and reloading the model? Defaults to TRUE
.
Whether to write the SavedModel in text format.
Unused
The path to the exported directory, as a string.