RemoveGraph

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

Atlas training products

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 subgraph is deleted.

SUCCESS: Subgraph deleted successfully.

FAILED: Failed to delete the subgraph.

Constraints

None