spike_bitwise_iand#
- class braintools.spike_bitwise_iand(x, y)#
Perform a bitwise IAND (Inverse AND) operation on spike tensors.
This function computes the Inverse AND (IAND) operation between two spike tensors. IAND is defined as (NOT x) AND y.
- Parameters:
x (Tensor) – The first input spike tensor.
y (Tensor) – The second input spike tensor.
- Returns:
- The result of the bitwise IAND operation applied to the input tensors.
The output tensor has the same shape as the input tensors.
- Return type:
Tensor
Note
This operation is implemented using the formula: (1 - x) * y, which is equivalent to the IAND operation for binary values.