File create_runner.py¶
Functions
- create_runner(subgraph, mode)¶
- module create_runner¶
Factory function to create an instance of DPU runner by subgraph.
Sample code:
// This API can be used like: runner = vart.Runner.create_runner(subgraph, "run")
- Parameters:
subgraph – : xir.Subgraph, XIR Subgraph
mode – 1 mode supported: ‘run’ - DPU runner.
- Returns:
vart.Runner, an instance of DPU runner.
Functions
- create_runner(subgraph, mode)¶