AmlComputeConfiguration 类

表示以 AmlCompute 为目标的试验的相关配置信息。

此类在 RunConfiguration 类中使用。

类 AmlComputeConfiguration 构造函数。

继承
azureml._base_sdk_common.abstract_run_config_element._AbstractRunConfigElement
AmlComputeConfiguration

构造函数

AmlComputeConfiguration()

参数

vm_size
str
必需

要创建的群集的 VM 大小。 支持的值:任何 Azure VM 大小

vm_priority
str
必需

要创建的群集的 VM 优先级。 允许的值为“dedicated”和“lowpriority”。