FeedDataFlowGraph (Feeding All Inputs)
Applicable Products
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Inputs data to a graph.
Prototype
1 | Status FeedDataFlowGraph(uint32_t graph_id, const std::vector<Tensor> &inputs, const DataFlowInfo &info, int32_t timeout) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
graph_id |
Input |
ID of the graph to be executed. |
inputs |
Input |
Input tensors of the computational graph, which are memory allocated on the host. |
info |
Input |
Input data flow flag. For details, see DataFlowInfo Data Types. |
timeout |
Input |
Timeout period for inputting data, in milliseconds. The value -1 indicates that no timeout ever occurs. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
|
Constraints
None
Parent topic: Graph Running APIs