BatchDeployment 類別
Batch 端點部署實體。
- 繼承
-
azure.ai.ml.entities._deployment.deployment.DeploymentBatchDeployment
建構函式
BatchDeployment(*, name: str, endpoint_name: str | None = None, description: str | None = None, tags: Dict[str, Any] | None = None, properties: Dict[str, str] | None = None, model: str | Model | None = None, code_configuration: CodeConfiguration | None = None, environment: str | Environment | None = None, compute: str | None = None, resources: ResourceConfiguration | None = None, output_file_name: str | None = None, output_action: BatchDeploymentOutputAction | None = None, error_threshold: int | None = None, retry_settings: BatchRetrySettings | None = None, logging_level: str | None = None, mini_batch_size: int | None = None, max_concurrency_per_instance: int | None = None, environment_variables: Dict[str, str] | None = None, code_path: str | PathLike | None = None, scoring_script: str | PathLike | None = None, instance_count: int | None = None, **kwargs)
參數
- output_action
- str 或 BatchDeploymentOutputAction
必要
指出輸出的組織方式。 可能的值為:「summary_only」、「append_row」。 預設為 「append_row」
- error_threshold
- int
必要
錯誤臨界值,如果整個輸入的錯誤計數高於此值,批次推斷將會中止。 範圍為 [-1, int。MaxValue] -1 值表示,針對 TabularDataset 檔案失敗的檔案失敗批次推斷期間忽略所有失敗,這是記錄失敗的計數,預設值為 -1
方法
dump |
以 yaml 格式將部署內容傾印到檔案中。 |
dump
以 yaml 格式將部署內容傾印到檔案中。
dump(dest: str | PathLike | IO, **kwargs) -> None