类 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

返回以任何状态处理的批处理结果的总数。