View source: R/model-persistence.R
export_savedmodel.keras.engine.training.Model | R Documentation |
Serialize a model to disk.
## S3 method for class 'keras.engine.training.Model'
export_savedmodel(
object,
export_dir_base,
overwrite = TRUE,
versioned = !overwrite,
remove_learning_phase = TRUE,
as_text = FALSE,
...
)
object |
An R object. |
export_dir_base |
A string containing a directory in which to export the SavedModel. |
overwrite |
Should the |
versioned |
Should the model be exported under a versioned subdirectory? |
remove_learning_phase |
Should the learning phase be removed by saving
and reloading the model? Defaults to |
as_text |
Whether to write the SavedModel in text format. |
... |
Other arguments passed to tf.saved_model.save. (Used only if TensorFlow version >= 2.0) |
The path to the exported directory, as a string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.