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.
mlflow_load_flavor(flavor, model_path)
An MLflow flavor object loaded by mlflow_load_model, with class loaded from the flavor field in an MLmodel file.
The path to the MLflow model wrapped in the correct class.