Executes the runner. This is a block function.
Prototype
tuple[uint32_t, int] execute_async(
List[vart.TensorBuffer] inputs,
List[vart.TensorBuffer] outputs)
Note: vart.TensorBuffer complete with buffer protocol.
Parameters
The following table lists the execute_async function arguments.
Type | Name | Description |
---|---|---|
List[vart.TensorBuffer] | inputs | A list of vart.TensorBuffer containing the input data for inference. |
List[vart.TensorBuffer] | outputs | A list of vart.TensorBuffer which will be filled with output data. |
Returns
tuple[jobID, status] status 0 for exit successfully, others for customized warnings or errors.