GetType

Applicable Products

All processors

Header File/Library File

  • Header file: #include <graph/gnode.h>
  • Library file: libgraph.so

Function Usage

Obtains the operator type.

Prototype

1
graphStatus GetType(ge::AscendString &type) const

Parameters

Parameter

Input/Output

Description

type

Output

Operator type.

Returns

Parameter

Type

Description

-

graphStatus

GRAPH_SUCCESS(0): success.

Other values: failure.

Restrictions

None