UserDefined

Function Usage

Configures whether the operator is user-defined. For AI CPU custom operators, the userDefined parameter can only be set to True. If not explicitly configured by a developer, the parameter defaults to True.

Prototype

1
OpAICPUDef &UserDefined(bool flag)

Parameters

Parameter

Input/Output

Description

flag

Input

The userDefined parameter of AI CPU custom operators can only be set to True. If not explicitly configured by a developer, the parameter defaults to True.

Returns

OpAICPUDef operator definition. For details, see OpAICPUDef.

Restrictions

None