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

FindOpByName

Function Prototype

ge::Operator FindOpByName(const string& name) const;

Function Description

Returns the operator instance 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

-

ge::Operator

If the operator of the corresponding name is found in the graph, the operator in the graph is returned. Otherwise, an operator of the NULL type is returned.

Exception Handling

None

Restriction

None