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.h>
  • Library file: libge_runner.so

Function Usage

Removes a graph specified by graphId from a Session.

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.

Restrictions

None