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

ModelPackageInput Class

Note

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

Model package input.

Inheritance
builtins.object
ModelPackageInput

Constructor

ModelPackageInput(*, type: str | None = None, path: PackageInputPathId | PackageInputPathUrl | PackageInputPathVersion | None = None, mode: str | None = None, mount_path: str | None = None)

Parameters

Name Description
type
Required

The type of the input.

path
Required

The path of the input.

mode
Required

The input mode.

mount_path
Required

The mount path for the input.

Examples

Create a Model Package Input object.


   from azure.ai.ml.entities._assets._artifacts._package.model_package import ModelPackageInput

   modelPackageInput = ModelPackageInput(type="input-type", mode="input-mode", mount_path="input-mount-path")