UserDefined

Function Usage

Configures whether the operator is user-defined. For HostCPU 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
OpHostCPUDef &UserDefined(bool flag)

Parameters

Parameter

Input/Output

Description

flag

Input

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

Returns

OpHostCPUDef operator definition. For details, see OpHostCPUDef.

Restrictions

None