mlflow (version 1.9.0)

mlflow_load_flavor: Load MLflow Model Flavor

Description

Loads an MLflow model using a specific flavor. This method is called internally by mlflow_load_model, but is exposed for package authors to extend the supported MLflow models. See https://mlflow.org/docs/latest/models.html#storage-format for more info on MLflow model flavors.

Usage

mlflow_load_flavor(flavor, model_path)

Arguments

flavor

An MLflow flavor object loaded by mlflow_load_model, with class loaded from the flavor field in an MLmodel file.

model_path

The path to the MLflow model wrapped in the correct class.