ComputeConfiguration Class
Compute resource configuration
- Inheritance
-
azure.ai.ml.entities._mixins.RestTranslatableMixinComputeConfigurationazure.ai.ml.entities._mixins.DictMixinComputeConfiguration
Constructor
ComputeConfiguration(*, target: str | None = None, instance_count: int | None = None, is_local: bool | None = None, instance_type: str | None = None, location: str | None = None, properties: Dict[str, Any] | None = None, deserialize_properties: bool = False)
Parameters
Name | Description |
---|---|
target
Required
|
The compute target. |
instance_count
Required
|
The number of instances. |
is_local
Required
|
Specifies if the compute will be on the local machine. |
location
Required
|
The location of the compute resource. |
properties
Required
|
The resource properties |
deserialize_properties
Required
|
Specifies if property bag should be deserialized. Defaults to False. |
Keyword-Only Parameters
Name | Description |
---|---|
target
Required
|
|
instance_count
Required
|
|
is_local
Required
|
|
instance_type
Required
|
|
location
Required
|
|
properties
Required
|
|
deserialize_properties
Required
|
|
Methods
get | |
has_key | |
items | |
keys | |
update | |
values |
get
get(key: Any, default: Any | None = None) -> Any
Parameters
Name | Description |
---|---|
key
Required
|
|
default
Required
|
Default value: None
|
has_key
has_key(k: Any) -> bool
Parameters
Name | Description |
---|---|
k
Required
|
|
items
items() -> list
keys
keys() -> list
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> list
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python