Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BitwiseXor (0.15 sec)

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

      %0 = "tf.LogicalOr"(%arg0, %arg1) : (tensor<2xi1>, tensor<2xi1>) -> tensor<2xi1>
      func.return %0: tensor<2xi1>
    }
    
    // CHECK-LABEL: func @bitwise_or
    func.func @bitwise_or(%arg0: tensor<4xi32>, %arg1: tensor<4xi32>) -> tensor<4xi32> {
      // CHECK-NEXT: mhlo.or
      %0 = "tf.BitwiseOr"(%arg0, %arg1) : (tensor<4xi32>, tensor<4xi32>) -> tensor<4xi32>
      func.return %0: tensor<4xi32>
    }
    
    // CHECK-LABEL: func @bitwise_or_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

    // 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)
    Value PackOperand(OpBuilder &builder, Location loc, Value value, int pack_dim) {
      ShapedType value_type = mlir::cast<ShapedType>(value.getType());
      const int rank = value_type.getRank();
    
    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