Header Files and Library Files
You can view the header file of each API in the ${INSTALL_DIR}/include/flow_graph and ${INSTALL_DIR}/include/ge directories.
Replace ${INSTALL_DIR} with the CANN component directory. For example, if the installation is performed by the root user, the default file storage path is /usr/local/Ascend/cann.
Note that the char_t type in the header file is the alias for the char type.
API Category |
Header File Path |
Description |
Matching Library File |
|---|---|---|---|
FlowOperator class |
flow_graph.h |
This class is the node base class of DataFlow graphs and is inherited from the Operator class of the GE. It cannot be independently constructed and used externally. |
N/A |
FlowData class |
flow_graph.h |
This class is the data node of DataFlow graphs and is inherited from the FlowOperator class. Each FlowData corresponds to one input. |
libflow_graph.so |
FlowNode class |
flow_graph.h |
This class is the compute node of DataFlow graphs and is inherited from the FlowOperator class. |
libflow_graph.so |
FlowGraph class |
flow_graph.h |
This class indicates a DataFlow graph, which consists of the input node FlowData and compute node FlowNode. |
libflow_graph.so |
ProcessPoint class |
process_point.h |
This class is a virtual base class and cannot be instantiated as objects. |
N/A |
FunctionPp class |
process_point.h |
This class indicates the compute processing point of a function and is inherited from the ProcessPoint class. |
libflow_graph.so |
GraphPp class |
process_point.h |
This class indicates the compute processing point of a graph and is inherited from the ProcessPoint class. |
libflow_graph.so |
DataFlowInputAttr structure |
flow_attr.h |
This structure defines the timeBatch and countBatch functions to implement the batch capabilities of the UDF. |
libflow_graph.so |
Graph execution APIs |
ge_api.h |
These APIs feed data into DataFlow graphs and retrieve execution results from the DataFlow model. |
libge_runner.so libdavinci_executor.so libgraph_base.so |
Data types |
ge_data_flow_api.h |
You can set and obtain member variables in DataFlowInfo. If the DataFlowInfo data type is compiled individually, you are advised to add the -Wl,--no-as-needed option to ensure that the dependent .so symbols are completely loaded during compilation. |
libdavinci_executor.so libge_runner.so |