OP_OUTPUT
Function Usage
Encapsulates the output aclTensor and aclTensorList of the operator.
Prototype
OP_OUTPUT(x...)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
x... |
Input |
Output aclTensor and aclTensorList. |
Constraints
If the operator contains non-aclTensor and non-aclTensorList output parameters, call aclOpExecutor::ConverToTensor to convert the parameters to aclTensor.
Example
1 2 | // Encapsulate one output parameter of the operator: addOut. OP_OUTPUT(addOut); |
Parent topic: Common Macros and Classes