- Function: When the input is a tensor of the BOOL type, the logical NOT operation is performed. When the input is of the INT type, the bitwise NOT operation is performed.
- Formula:
Each operator is divided into two phases (../common/two-phase-api.md). You must call aclnnBitwiseNotGetWorkspaceSize to obtain the workspace size required for computation and the executor that contains the operator execution process, and then call aclnnBitwiseNot to perform the computation.
[object Object]
[object Object]
Parameters:
[object Object]Returns:
[object Object]: status code. For details, see .The first-phase API implements input parameter verification. The following errors may be thrown:
[object Object]
- Deterministic computation:
[object Object]defaults to a deterministic implementation.
The following example is for reference only. For details, see .
[object Object]