GetOpType

Description

Obtains the operator type.

Prototype

APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.

std::string GetOpType() const

graphStatus GetOpType(AscendString &type) const

Parameters

Parameter

Input/Output

Description

type

Output

Operator type

Returns

graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.

Exception Handling

None

Restrictions

None