create_graph_runner - create_graph_runner - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 English

Factory fucntion to create an instance of runner by graph and attrs.

Prototype

std::unique_ptr< vart::RunnerExt > create_graph_runner(const xir::Graph *graph, xir::Attrs *attrs);

Parameters

The following table lists the create_graph_runner function arguments.

Table 1. create_graph_runner Arguments
Type Member Description
const xir::Graph * graph XIR Graph
xir::Attrs * attrs XIR attrs object, this object is shared among all runners on the same graph.

Returns

An instance of runner.