Breyta

Deila með


Class BatchResponse

BatchResponse

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

Represents a service's entire batch execution response at a particular state in time. Using this, a batch execution index can be supplied to the execution(index) function in order to retrieve the service's ServiceResponse.

api

api

Gets the api endpoint.

completed_item_count

completed_item_count

Returns the number of completed batch results processed thus far.

execution

execution(index)

Extracts the service execution results within the batch at this execution index.

Arguments

index

The batch execution index.

Returns

The execution results ServiceResponse.

execution_id

execution_id

Returns this batch's execution identifier if a batch has been started, otherwise None.

total_item_count

total_item_count

Returns the total number of batch results processed in any state.