Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bitwise_and (0.1 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      %0 = "tf.BitwiseXor"(%arg0, %arg1) : (tensor<4xui32>, tensor<4xui32>) -> tensor<4xui32>
      func.return %0: tensor<4xui32>
    }
    
    // CHECK-LABEL: func @bitwise_and
    func.func @bitwise_and(%arg0: tensor<4xi32>, %arg1: tensor<4xi32>) -> tensor<4xi32> {
      // CHECK-NEXT: mhlo.and
      %0 = "tf.BitwiseAnd"(%arg0, %arg1) : (tensor<4xi32>, tensor<4xi32>) -> tensor<4xi32>
      func.return %0: tensor<4xi32>
    }
    
    // CHECK-LABEL: func @bitwise_and_unsigned
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

    //
    // if value.shape[1] % 2:
    //   value = pad(value, [0, 1, 0, 0])
    //
    // slice_shape = value.shape
    // slice_shape[1] /= 2
    //
    // packed_low = slice(value, [0, 0, 0, 0], slice_shape)
    // packed_low = bitwise_and(packed_low, 0x0F)
    //
    // packed_high = slice(value, [0, value.shape[1] / 2, 0, 0], slice_shape)
    // packed_high = left_shift(packed_high, 4)
    //
    // packed_value = bitwise_or(packed_low, packed_high)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top