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")