AbstractComputeTarget Class

An abstract class for compute targets not managed by Azure Machine Learning.

Class AbstractComputeTarget constructor.

Inheritance
builtins.object
AbstractComputeTarget

Constructor

AbstractComputeTarget(compute_target_type, name)

Parameters

Name Description
compute_target_type
Required
str

The compute target type.

name
Required
str

The name of the compute target.

Methods

deserialize_from_dict

Deserialize compute_target_dict and returns the corresponding compute target object.

deserialize_from_dict

Deserialize compute_target_dict and returns the corresponding compute target object.

static deserialize_from_dict(compute_target_name, compute_target_dict)

Parameters

Name Description
compute_target_name
Required
str

The compute target name, basically <compute_target_name>.compute file.

compute_target_dict
Required

The compute target dict, loaded from the on-disk .compute file.

Returns

Type Description

The target specific compute target object.

Attributes

name

Return the compute target name.

Returns

Type Description
str

Returns name of the compute target.

type

Return the compute target type.

Returns

Type Description
str

Returns the compute target type.