Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 1xui8 (0.05 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir

    func.func @cast_op_qint8_int8(%arg0: tensor<1x!tf_type.qint8>) -> tensor<1xi8> {
      // CHECK: "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<1xi8>) -> tensor<1xi8>
      %0 = "tf.Cast"(%arg0) {Truncate = false} : (tensor<1x!tf_type.qint8>) -> tensor<1xi8>
      func.return %0: tensor<1xi8>
    }
    
    // -----
    
    // CHECK-LABEL: func @cast_op_int8_qint8
    func.func @cast_op_int8_qint8(%arg0: tensor<1xi8>) -> tensor<1x!tf_type.qint8> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

    }
    
    // CHECK-LABEL: @cast_i32_to_ui8
    func.func @cast_i32_to_ui8() -> tensor<6xui8> {
      %cst = arith.constant dense<[0, -1, 256, 127, -128, -129]> : tensor<6xi32>
      %0 = "tfl.cast"(%cst) : (tensor<6xi32>) -> tensor<6xui8>
      func.return %0 : tensor<6xui8>
    
    // CHECK: %[[CST:.*]] = arith.constant dense<[0, 255, 0, 127, 128, 127]> : tensor<6xui8>
    // CHECK:  return %[[CST]]
    }
    
    // CHECK-LABEL: @cast_ui8_to_i8
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir

      func.return %0 : tensor<!tf_type.string>
    }
    
    func.func @uint8() -> tensor<4xui8> {
      // CHECK-LABEL: @uint8
      // CHECK: value = dense<[222, 173, 190, 239]> : tensor<4xui8>
      %0 = "tfl.pseudo_const"() {value = dense<[222, 173, 190, 239]> : tensor<4xui8>} : () -> tensor<4xui8>
      func.return %0 : tensor<4xui8>
    }
    
    func.func @int4() -> tensor<5xi4> {
      // CHECK-LABEL: @int4
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

    func.func @shift_right_unsigned(%arg0: tensor<4xui8>, %arg1: tensor<4xui8>) -> tensor<4xui8> {
      // CHECK:  mhlo.shift_right_logical %arg0, %arg1 : tensor<4xui8>
      %0 = "tf.RightShift"(%arg0, %arg1) : (tensor<4xui8>, tensor<4xui8>) -> tensor<4xui8>
      func.return %0 : tensor<4xui8>
    }
    
    // CHECK-LABEL: func @broadcast_shift_right_unsigned
    func.func @broadcast_shift_right_unsigned(%arg0: tensor<4xui8>, %arg1: tensor<2x4xui8>) -> tensor<2x4xui8> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      func.return %0 : tensor<!tf_type.string>
    }
    
    func.func @uint8() -> tensor<4xui8> {
      // CHECK-LABEL: @uint8
      // CHECK: value = dense<[222, 173, 190, 239]> : tensor<4xui8>
      %0 = "tfl.pseudo_const"() {value = dense<[222, 173, 190, 239]> : tensor<4xui8>} : () -> tensor<4xui8>
      func.return %0 : tensor<4xui8>
    }
    
    func.func @int4() -> tensor<5xi4> {
      // CHECK-LABEL: @int4
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/optimize.mlir

    }
    
    // -----
    
    // CHECK-LABEL: func @convolution_add_add_i8
    func.func @convolution_add_add_i8(
        %lhs: tensor<?x3x2x1xi8>, %rhs: tensor<2x1x1x1xi8>,
        %zp_offset: tensor<?x2x2x1xi8>, %bias: tensor<1xi8>
      ) -> tensor<?x2x2x1xi8> {
      // CHECK-DAG: %[[conv:.*]] = mhlo.convolution
      // CHECK-DAG: %[[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)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/testdata/outside_compilation.mlir

          %outputs_81, %control_82 = tf_executor.island wraps "tf.StridedSlice"(%outputs_79, %outputs_43, %outputs_45, %outputs_47) {begin_mask = 1 : i64, device = "/device:CPU:0", ellipsis_mask = 0 : i64, end_mask = 0 : i64, new_axis_mask = 0 : i64, shrink_axis_mask = 0 : i64} : (tensor<*xui8>, tensor<1xi32>, tensor<1xi32>, tensor<1xi32>) -> tensor<*xui8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:19:45 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/compose-uniform-quantized-type.mlir

        %11 = stablehlo.reshape %2 : (tensor<1x1x1x1xi8>) -> tensor<1xi8>
        %12 = stablehlo.broadcast_in_dim %11, dims = [0] : (tensor<1xi8>) -> tensor<1x3x3x4xi8>
        %13 = stablehlo.convert %12 : (tensor<1x3x3x4xi8>) -> tensor<1x3x3x4xf32>
        %14 = stablehlo.convert %3 : (tensor<3x3x4x4xi8>) -> tensor<3x3x4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top