• Bitwise AND operation for input tensors.

    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();

    Type Parameters

    • R extends Rank

    Parameters

    • x: Tensor<Rank>

      The input tensor to be calculated.

    • y: Tensor<Rank>

      The input tensor to be calculated.

    Returns Tensor<R>

    Doc

Generated using TypeDoc