RemoveGraph

Header File/Library File

  • Header file: #include <ge/ge_api_v2.h>
  • Library file: libge_runner_v2.so

Function Usage

Removes a graph with a specified ID from the current GeSession.

Prototype

1
Status RemoveGraph(uint32_t graph_id)

Parameters

Parameter

Input/Output

Description

graph_id

Input

ID of the graph to be removed.

Returns

Parameter

Type

Description

-

Status

GE_CLI_SESS_REMOVE_FAILED: Serialization failed when a graph is deleted.

SUCCESS: The graph is successfully deleted.

FAILED: The graph fails to be deleted.

Restrictions

None