Class 1
The class name is vart.Runner. The following table lists all the functions defined in the vart.Runner class.
Type | Name | Arguments |
---|---|---|
vart.Runner | create_runner | xir.Subgraph subgraph string mode |
List[xir.Tensor] | get_input_tensors | |
List[xir.Tensor] | get_output_tensors | |
tuple[uint32, int] | execute_async | List[vart.TensorBuffer] inputs List[vart.TensorBuffer] outputs Note: vart.TensorBuffer complete with buffer protocol . |
int | wait | tuple[uint32, int] jobID |
For vart.Runner Example, refer to vart.Runner Example
Class 2
The class name is vart.RunnerExt. The following table lists all the functions defined
in the vart.RunnerExt
class.
vart.RunnerExt extends from
vart.Runner
.
Type | Name | Arguments |
---|---|---|
vart.RunnerExt | create_runner | xir.Subgraph subgraph String mode |
List[vart.TensorBuffer] | get_inputs | |
List[vart.TensorBuffer] | get_outputs |
For vart.RunnerExt example, refer to vart.RunnerExt Example
Class 3
The class name is vitis_ai_library.GraphRunner. The following table lists all the
functions defined in the vitis_ai_library.GraphRunner
class.
Type | Name | Arguments |
---|---|---|
vart.RunnerExt | create_graph_runner | xir.Graph graph |
For graph runner example, refer to Graph runner Example