Saves model in MLflow's Keras flavor.
# S3 method for keras.engine.training.Model
mlflow_save_flavor(x,
path = "model", r_dependencies = NULL, conda_env = NULL)
The serving function or model that will perform a prediction.
Destination path where this MLflow compatible model will be saved.
Optional vector of paths to dependency files
to include in the model, as in r-dependencies.txt
or conda.yaml
.
Path to Conda dependencies file.
This funciton must return a list of flavors that conform to the MLmodel specification.