目录

GetOpType

Function Description

Obtains the operator type.

Function Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

std::string GetOpType() const;
graphStatus GetOpType(AscendString &type) const;

Parameters

Parameter Input/Output Description
type Output Operator type.

Return Value

Type Description
graphStatus

GRAPH_FAILED: failed

GRAPH_SUCCESS: succeeded

Exception Handling

None

Restrictions

None