類別 BatchResponse

BatchResponse

azureml.deploy.server.service.BatchResponse(api, execution_id, response,
    output_schema)

代表服務在特定時間狀態下的整個批次執行回應。 使用此項,可以將批次執行索引提供給 execution(index) 函式,以便擷取服務的 ServiceResponse

api

api

取得 API 端點。

completed_item_count

completed_item_count

傳回到目前為止處理過的已完成批次結果數目。

執行

execution(index)

在此執行 索引 處擷取批次內的服務執行結果。

引數

索引

批次執行索引。

傳回

執行結果 ServiceResponse

execution_id

execution_id

如果批次已啟動,則傳回此批次的執行識別碼,否則傳回 None

total_item_count

total_item_count

傳回在任何狀態下處理的批次結果總數。