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

compute_target_type
str
Required

The compute target type.

name
str
Required

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

compute_target_name
str
Required

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

compute_target_dict
dict
Required

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

Returns

The target specific compute target object.

Return type

Attributes

name

Return the compute target name.

Returns

Returns name of the compute target.

Return type

str

type

Return the compute target type.

Returns

Returns the compute target type.

Return type

str