vnot
Function
vnot instruction abstraction.
The vnot instruction performs bitwise NOT on input vectors. Each vector has 8 × 256 bits.
Prototype
1 | class vnot(x, y) |
Parameters
Parameter |
Input/Output |
Data Type |
Description |
|---|---|---|---|
x |
Input |
Tensor variable |
Input x-vector tensor. INT16 and UINT16 are supported. |
y |
Output |
Tensor variable |
Output y-vector tensor. INT16 and UINT16 are supported. |
Example
1 2 3 4 5 | from mskpp import vnot, Tensor ub_x, ub_y = Tensor("UB"), Tensor("UB") gm_x = Tensor("GM") ub_x.load(gm_x) out = vnot(ub_x, ub_y)() |
Constraints
This instruction supports only the common mask mode and counter mode.
Parent topic: Description of msKPP External APIs