FeedDataFlowGraph (Feeding All FlowMsgs)
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Inputs data to a graph.
Prototype
1 | Status FeedDataFlowGraph(uint32_t graph_id, const std::vector<FlowMsgPtr> &inputs, int32_t timeout) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
graph_id |
Input |
ID of the graph to be executed. |
inputs |
Input |
Pointers to the input FlowMsgs of the computational graph, pointing to shared memory allocated on the host. |
timeout |
Input |
Data input timeout, in milliseconds. The value -1 means no timeout limit. |
Returns
Function execution result. The following table lists the results.
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
|
Constraints
None
Parent topic: Graph Running APIs