chainerx.bitwise_or

chainerx.bitwise_or(x1, x2)

Compute the bit-wise OR 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.

See also

numpy.bitwise_or