Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for 4x8xi1 (0.22 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/optimize.mlir

      return %2 : tensor<?x2x2x1xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @dot_general_add_add
    func.func @dot_general_add_add(
        %lhs: tensor<?x?x6xi8>, %rhs: tensor<6x8xi8>,
        %zp_offset: tensor<8xi32>, %bias: tensor<8xi32>
      ) -> tensor<?x?x8xi32> {
      // CHECK: %[[dot:.*]] = "mhlo.dot_general"
      // CHECK: %[[combined:.*]] = chlo.broadcast_add %[[zp_offset:.*]], %[[bias:.*]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @testAllDimWrongRank(%input: tensor<4x6xi1>, %dims: tensor<2x2xi32>) {
      // expected-error @+1 {{dimensions can only be 0D or 1D tensor}}
      %0 = "tf.All"(%input, %dims) : (tensor<4x6xi1>, tensor<2x2xi32>) -> (tensor<*xi1>)
      func.return
    }
    
    // -----
    
    func.func @testAllDimOutOfRange(%input: tensor<4x6xi1>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir

      // CHECK-SAME: %[[ARG0:.*]]: tensor<1x2xf32>
      // CHECK-SAME: %[[ARG1:.*]]: tensor<2x3xf32>
      // CHECK-SAME: %[[ARG2:.*]]: tensor<1x3xi1>
      // CHECK-SAME: %[[ARG3:.*]]: tensor<1x3xf32>
      func.func private @composite_and_select(%arg0: tensor<1x2xf32>, %arg1: tensor<2x3xf32>, %arg2: tensor<1x3xi1>, %arg3: tensor<1x3xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

    func.func @cast_i8_to_i1() -> tensor<4xi1> {
      %cst = arith.constant dense<[0, 1, 2, -1]> : tensor<4xi8>
      %0 = "tfl.cast"(%cst) : (tensor<4xi8>) -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    
    // CHECK: %[[CST:.*]] = arith.constant dense<[false, true, true, true]> : tensor<4xi1>
    // CHECK:  return %[[CST]]
    }
    
    // CHECK-LABEL: @cast_ui8_to_i1
    func.func @cast_ui8_to_i1() -> tensor<4xi1> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %0 : tensor<8xi1>
    // CHECK-LABEL: logicalNot
    // CHECK:  "tfl.logical_not"(%arg0) : (tensor<8xi1>) -> tensor<8xi1>
    }
    
    func.func @logicalOr(%arg0: tensor<8xi1>, %arg1: tensor<8xi1>) -> tensor<8xi1> {
      %0 = "tf.LogicalOr"(%arg0, %arg1) : (tensor<8xi1>, tensor<8xi1>) -> tensor<8xi1>
      func.return %0: tensor<8xi1>
    
    // CHECK-LABEL: logicalOr
    // CHECK:  tfl.logical_or %arg0, %arg1 : tensor<8xi1>
    // CHECK:  return
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/tests/decompose.mlir

      func.return %2 : tensor<1x2x2x1xf32>
    // CHECK: tf__max_pool
    }
    
    // CHECK-LABEL: no_tf_canonicalization
    func.func @no_tf_canonicalization(%arg0: tensor<8xi1>, %arg1: tensor<8x3xf32>, %arg2: tensor<8x3xf32>) -> tensor<8x3xf32> {
      %0 = "tf.Select"(%arg0, %arg1, %arg2) : (tensor<8xi1>, tensor<8x3xf32>, tensor<8x3xf32>) -> tensor<8x3xf32>
      func.return %0: tensor<8x3xf32>
    
    // CHECK:   "tf.Select"
    }
    
    // CHECK-LABEL: denied_attribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/unroll-batch-matmul.mlir

    }
    
    // -----
    
    func.func @batchMatMulV3MatrixInt8(%arg0: tensor<4x5xi8>, %arg1: tensor<5x6xi8>) -> tensor<4x6xi32> {
      %0 = "tf.BatchMatMulV3"(%arg0, %arg1) : (tensor<4x5xi8>, tensor<5x6xi8>) -> tensor<4x6xi32>
      func.return %0 : tensor<4x6xi32>
    
      // CHECK-LABEL: batchMatMulV3MatrixInt8
      // CHECK: %0 = "tf.BatchMatMulV3"(%arg0, %arg1) : (tensor<4x5xi8>, tensor<5x6xi8>) -> tensor<4x6xi32>
      // CHECK: return %0 : tensor<4x6xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 63.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    func.func @select(
        %arg0: tensor<1x3xi1>,
        %arg1: tensor<1x3x!quant.uniform<i8:f32, 2.000000e+00:-1>>,
        %arg2: tensor<1x3x!quant.uniform<i8:f32, 2.000000e+00:-1>>
      ) -> tensor<1x3x!quant.uniform<i8:f32, 2.000000e+00:-1>> {
      %0 = "stablehlo.select"(%arg0, %arg1, %arg2) : (
        tensor<1x3xi1>,
        tensor<1x3x!quant.uniform<i8:f32, 2.000000e+00:-1>>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/ops.mlir

    }
    
    // -----
    
    func.func @testSelectV2WithWrongBroadcastableArguments(%cond : tensor<3x4xi1>, %arg0 : tensor<2x3x4xf32>, %arg1 : tensor<4x3xf32>) -> tensor<2x3x4xf32> {
      // expected-error @+1 {{'tfl.select_v2' op operands don't have broadcast-compatible shapes}}
      %0 = "tfl.select_v2"(%cond, %arg0, %arg1): (tensor<3x4xi1>, tensor<2x3x4xf32>, tensor<4x3xf32>) -> tensor<2x3x4xf32>
      func.return %0 : tensor<2x3x4xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

    // -----
    
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
Back to top