Bitwise AND operation for input tensors.
AND
Given two input tensors, returns a new tensor with the AND calculated values.
The method supports int32 values
const x = tf.tensor1d([0, 5, 3, 14], 'int32');const y = tf.tensor1d([5, 0, 7, 11], 'int32');tf.bitwiseAnd(x, y).print(); Copy
const x = tf.tensor1d([0, 5, 3, 14], 'int32');const y = tf.tensor1d([5, 0, 7, 11], 'int32');tf.bitwiseAnd(x, y).print();
The input tensor to be calculated.
Generated using TypeDoc
Bitwise
AND
operation for input tensors.Given two input tensors, returns a new tensor with the
AND
calculated values.The method supports int32 values