Graph::DestroyGraph
Destroys the entire graph. This API is defined in graph.h.
It can be called only on the host or Ascend 310 RC.
Syntax
static HIAI_StatusT Graph::DestroyGraph(uint32_t graphID)
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
graphID |
ID of the graph to be destroyed |
Graph ID configured in the configuration file |
Return Value
For details about the returned error codes, see "Error Codes."
Error Codes
No. |
Error Code |
Description |
---|---|---|
1 |
HIAI_OK |
The running is OK. |
2 |
HIAI_GRAPH_DESTROY_TIMEOUT |
Destroying a graph timed out. |
3 |
HIAI_GRAPH_ENGINE_DESTROY_FAILED |
Destroying a graph failed. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot