OP_ATTR

Function Usage

Encapsulates operator attributes.

Prototype

OP_ATTR(x...)

Parameters

Parameter

Input/Output

Description

x...

Input

Operator attribute parameters (attribute parameters in the operator prototype)

Constraints

None

Example

1
2
// Encapsulate the two attribute parameters of the operator: dstType and sqrtMode.
OP_ATTR(dstType, sqrtMode);