OP_MODE
Function Usage
Encapsulates the operator run mode and determines whether to enable the HF32 data type during operator computation.
Prototype
OP_MODE(x...)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
x... |
Input |
Operator run mode. For details, see OpExecMode. The default value is 0, indicating the default mode. |
Constraints
None
Example
1 2 | // Encapsulate the operator run mode. OP_MODE(OP_EXEC_MODE_DEFAULT); |
Parent topic: Common Macros and Classes