bitwise_and¶
- dragon.vm.tensorflow.bitwise.- bitwise_and(
 x,
 y,
 name=None
 )[source]¶
- Compute the element-wise AND bitwise operation. \[\text{out} = \text{input1} \mathbin{\&} \text{input2} \]- Examples: - x = tf.constant([False, True, False, True]) y = tf.constant([False, True, True, False]) print(tf.bitwise.bitwise_and(x, y)) # False, True, False, False print(x * y) # Equivalent operation - Parameters:
- x (dragon.Tensor) – The input1 tensor.
- y (dragon.Tensor) – The input2 tensor.
- name (str, optional) – The operation name.
 
 - Returns:
- dragon.Tensor – The output tensor. 
 
