Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for 1xi8 (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/verify-quant-legalization.mlir

    // RUN: stablehlo-quant-opt %s -verify-quant-legalization -split-input-file -verify-diagnostics | FileCheck %s
    
    // CHECK-LABEL: func @legal_i8
    func.func @legal_i8(%arg0: tensor<1xi8>) -> tensor<1xi8> {
      func.return %arg0: tensor<1xi8>
    }
    
    // -----
    
    func.func @illegal_qint8(%arg0: tensor<1x!tf_type.qint8>) -> tensor<1x!tf_type.qint8> {
      // expected-error@+1 {{'func.return' op is illegal as it is a UQ op or contains uq/qint types}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 18:54:14 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tests/test_tf_to_stablehlo.mlir

    // CHECK: %[[BITCAST_CONVERT_0:.*]] = stablehlo.bitcast_convert %[[UQ]] : (tensor<1x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<1xi8>
    // CHECK: %[[BITCAST_CONVERT_1:.*]] = stablehlo.bitcast_convert %[[BITCAST_CONVERT_0]] : (tensor<1xi8>) -> tensor<1x!quant.uniform<i8:f32, 1.000000e+00:3>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_custom_call.mlir

    // Identity function to make the exporter happy
    func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> {
      func.return %arg0 : tensor<4xi8>
    }
    
    //CHECK:func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> attributes {tf.entry_function = {inputs = "arg0", outputs = "arg0"}} {
    //CHECK: return %arg0 : tensor<4xi8>
    //CHECK:}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/reduce-type-precision.mlir

    func.func @testI8ToI4WithinRange() -> (tensor<4xi8>) {
      %0 = arith.constant dense<[-8, 0, 1, 7]> : tensor<4xi8>
      // expected-error@+1 {{type of return operand 0 ('tensor<4xi4>') doesn't match function result type ('tensor<4xi8>')}}
      func.return %0 : tensor<4xi8>
    }
    
    func.func @testI8ToI4NotWithinRange() -> tensor<4xi8> {
      %0 = arith.constant dense<[-10, 2, 3, 8]> : tensor<4xi8>
      func.return %0 : tensor<4xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 01 20:01:11 UTC 2023
    - 502 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/input_output_names_attr.mlir

    // CHECK-LABEL: @main
    func.func @main(%arg0: tensor<4xi8>, %arg1: tensor<4xi32>) -> (tensor<4xi32>, tensor<4xi8>)
    // CHECK: attributes {tf.entry_function = {inputs = "input0,input1", outputs = "output0,output1"}}
    attributes {tf.entry_function = {inputs = "input0,input1", outputs = "output0,output1"}} {
      %0 = "tfl.neg"(%arg0) : (tensor<4xi8>) -> tensor<4xi8> loc("neg")
      %1 = "tfl.neg"(%arg1) : (tensor<4xi32>) -> tensor<4xi32> loc("neg")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:35:24 UTC 2022
    - 726 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf-assert.mlir

    func.func @preserve_assert(%arg0: tensor<1xi32>, %arg1: tensor<1xi32>) -> tensor<1xi1> {
      %0 = "tf.LessEqual"(%arg0, %arg1) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi1>
      "tf.Assert"(%0, %arg1) {summarize = 3} : (tensor<1xi1>, tensor<1xi32>) -> ()
      func.return %0 : tensor<1xi1>
      // CHECK-LABEL: preserve_assert
      // CHECK: tfl.less_equal
      // CHECK: Assert
      // CHECK: return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 14:24:59 UTC 2022
    - 481 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/if_op.mlir

      %0 = "tfl.less"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xi1>
      %1 = "tf.If"(%0, %arg0, %arg1) {else_branch = @cond_false, then_branch = @cond_true, is_stateless = false} : (tensor<1xi1>, tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      func.return %1 : tensor<1xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/pin-ops-with-side-effects.mlir

      func.return
    }
    
    // CHECK-LABEL: @tf_if_gets_control_node
    func.func @tf_if_gets_control_node(%arg0: tensor<1xi1>)->() {
     "tf.If"(%arg0) {_lower_using_switch_merge = true, _read_only_resource_inputs = [], device = "", else_branch = @noop, is_stateless = false, output_shapes = [#tf_type.shape<>], then_branch = @noop} : (tensor<1xi1>) -> ()
     func.return
    }
    // CHECK-NEXT: %[[CONTROL:.*]] = tfl.control_node controls "tf.If"
    // CHECK-NEXT: return
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 17 10:45:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_xla_weight_only.mlir

      }
    
      func.func private @internal_conv3d_fn(
                             %input : tensor<*xf32>, %filter : tensor<*xi8>) -> tensor<*xf32> {
    
       // Use identity op to avoid the filter being constant-folded.
        %identity = "tf.Identity"(%filter) : (tensor<*xi8>) -> tensor<*xi8>
        %2 = "tf.Cast"(%identity) {Truncate = false} : (tensor<*xi8>) -> tensor<*xf32>
        %3 = "tf.Conv3D"(%input, %2) {
          padding = "VALID", strides = [1, 1, 1, 1, 1],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-data-type.pbtxt

        }
      }
    }
    versions {
      producer: 216
    }
    
    # NONE: func @main(%arg0: tensor<i1>, %arg1: tensor<1xi32>) -> (tensor<i1>, tensor<1xi32>)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:32:15 UTC 2020
    - 1.2K bytes
    - Viewed (0)
Back to top