image Package

Contains functionality for managing images that are deployed as web service endpoints in Azure Machine Learning.

This class is DEPRECATED. Use the Environment class instead.

An Image is used to deploy a Model, script, and associated files as a web service endpoint or IoT Edge device. The endpoint handles incoming scoring requests and return predictions. This package's key classes are the Image class, the parent class of Azure Machine Learning images, and the derived ContainerImage class for Docker Images as well as preview Images like FPGA.

Unless you have a workflow that specifically requires using images, you should instead use the Environment class to define your image. Then you can use the Environment object with the Model deploy() method to deploy the model as a web service. You can also use the Model package() method to create an image that can be downloaded to your local Docker install as an image or as a Dockerfile.

For information on using the Model class, see Deploy models with Azure Machine Learning.

For information on using custom images, see Deploy a model using a custom Docker base image.

Modules

container

Contains functionality for managing container images in Azure Machine Learning.

image

Contains the base functionality for managing images in Azure Machine Learning.

An Image encapsulates a model, script, and associated files to provide the run time environment of a deployed web service. The image has a load-balanced, HTTP endpoint that can receive scoring requests and return predictions.

unknown_image

Contains functionality for managing images that are not imported into Azure Machine Learning.

Classes

ContainerImage

Represents a container image, currently only for Docker images.

This class is DEPRECATED. Use the Environment class instead.

The image contains the dependencies needed to run the model including:

  • The runtime

  • Python environment definitions specified in a Conda file

  • Ability to enable GPU support

  • Custom Docker file for specific run commands

Image constructor.

This class is DEPRECATED. Use the Environment class instead.

Image constructor is used to retrieve a cloud representation of a Image object associated with the provided workspace. Will return an instance of a child class corresponding to the specific type of the retrieved Image object.

Image

Defines the abstract parent class for Azure Machine Learning Images.

This class is DEPRECATED. Use the Environment class instead.

Image constructor.

This class is DEPRECATED. Use the Environment class instead.

Image constructor is used to retrieve a cloud representation of a Image object associated with the provided workspace. Will return an instance of a child class corresponding to the specific type of the retrieved Image object.

UnknownImage

Used internally to represent an unknown Image type.

This class is DEPRECATED.

This class is used by Image during a list operation to represent images that were created by classes that are not imported at the time the list operation is executed.

Image constructor.

This class is DEPRECATED. Use the Environment class instead.

Image constructor is used to retrieve a cloud representation of a Image object associated with the provided workspace. Will return an instance of a child class corresponding to the specific type of the retrieved Image object.