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