다음을 통해 공유


ComputeConfiguration 클래스

컴퓨팅 리소스 구성

상속
azure.ai.ml.entities._mixins.RestTranslatableMixin
ComputeConfiguration
azure.ai.ml.entities._mixins.DictMixin
ComputeConfiguration

생성자

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)

매개 변수

Name Description
target
필수

컴퓨팅 대상.

instance_count
필수

인스턴스 수입니다.

is_local
필수

컴퓨팅이 로컬 컴퓨터에 있는지를 지정합니다.

location
필수

컴퓨팅 리소스의 위치입니다.

properties
필수

리소스 속성

deserialize_properties
필수

속성 모음을 역직렬화해야 하는지 지정합니다. 기본값은 False입니다.

키워드 전용 매개 변수

Name Description
target
필수
instance_count
필수
is_local
필수
instance_type
필수
location
필수
properties
필수
deserialize_properties
필수

메서드

get
has_key
items
keys
update
values

get

get(key: Any, default: Any | None = None) -> Any

매개 변수

Name Description
key
필수
default
기본값: None

has_key

has_key(k: Any) -> bool

매개 변수

Name Description
k
필수

items

items() -> list

keys

keys() -> list

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> list