chainerx.bitwise_and

chainerx.bitwise_and(x1, x2)

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

Parameters
  • x1 (ndarray or scalar) – Input array of integers.

  • x2 (ndarray or scalar) – Input array of integers.

Returns

Returned array: \(y = x_1 \& x_2\)

Return type

ndarray

Note

During backpropagation, this function does not propagate gradients.