Updated on 2022-03-13 GMT+08:00

CheckOpByName

Function Prototype

graphStatus CheckOpByName(const string& name) const;

Function Description

Checks whether an operator exists in a graph based on the operator name.

Parameter Description

Parameter

Input/Output

Type

Description

name

Input

const string&

Operator name

Return Value

Parameter

Type

Description

-

graphStatus

GRAPH_SUCCESS: The operator is found.

GRAPH_FAILED: The operator is not found.

Exception Handling

None

Restriction

None