你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ModelConfiguration Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

ModelConfiguration.

Inheritance
builtins.object
ModelConfiguration

Constructor

ModelConfiguration(*, mode: str | None = None, mount_path: str | None = None)

Parameters

Name Description
mode
Required
str

The mode of the model. Possible values include: "Copy", "Download".

mount_path
Required
str

The mount path of the model.

Examples

Creating a Model Configuration object.


   from azure.ai.ml.entities._assets._artifacts._package.model_configuration import ModelConfiguration

   modelConfiguration = ModelConfiguration(mode="model-mode", mount_path="model-mount-path")