mlflow_load_flavor: Load MLflow Model Flavor

View source: R/model.R

mlflow_load_flavorR Documentation

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.


mlflow documentation built on Nov. 1, 2024, 1:07 a.m.