Binary Operations

Elementwise bit operations

mars.tensor.bitwise_and

Compute the bit-wise AND of two tensors element-wise.

mars.tensor.bitwise_or

Compute the bit-wise OR of two tensors element-wise.

mars.tensor.bitwise_xor

Compute the bit-wise XOR of two arrays element-wise.

mars.tensor.invert

Compute bit-wise inversion, or bit-wise NOT, element-wise.

mars.tensor.left_shift

Shift the bits of an integer to the left.

mars.tensor.right_shift

Shift the bits of an integer to the right.