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

UpdateOpDescFn

Function

Operator description update function

Syntax

OpRegistrationData& UpdateOpDescFn(UpdateOpDescFunc updateOpDescFn);

Parameter Description

Parameter

Input/Output

Description

updateOpDescFn

Input

Callback function UpdateOpDescFunc. For details, see Callback Function UpdateOpDescFunc.

Callback Function UpdateOpDescFunc

You can customize and implement the UpdateOpDescFunc class function to update operator information.

Syntax

static Status UpdateOpDescFunc(ge::Operator& op);

Parameter Description

Parameter

Input/Output

Description

op

Input/Output

Operator data structure of offline model supported by the Ascend AI processor, which stores operator information

For details about the operator class, see Operator Class APIs in GE API Reference.