Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 252 for 4xf32 (0.06 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.mlir

      %biasadd = "tf.BiasAdd"(%conv, %dq_bias) {data_format = "NHWC", device = ""} : (tensor<*xf32>, tensor<2xf32>) -> tensor<*xf32>
      %res = "tf.Relu6"(%biasadd) : (tensor<*xf32>) -> tensor<*xf32>
      %q_res = "quantfork.qcast"(%res) : (tensor<*xf32>) -> tensor<*x!quant.uniform<i8:f32, 0.023529411764705882:-128>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/mark_functions_noinline.mlir

    func.func @noinline0() -> (tensor<0xf32>) {
      %cst = "tf.Const"() {value = dense<1.0> : tensor<0xf32>} : () -> tensor<0xf32>
      return %cst : tensor<0xf32>
    }
    
    // -----
    
    // Tests that the function not listed in the option `noinline-functions`
    // is not marked tf._noinline = true.
    
    // CHECK-LABEL: @inline
    // CHECK-NOT: tf._noinline
    func.func @inline() -> (tensor<0xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 12 00:02:46 UTC 2023
    - 841 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/canonicalize_compile_and_replicate_attributes.mlir

        %outputs_2, %control_2 = tf_executor.island wraps "tf.Identity"(%outputs_1) {T = "tfdtype$DT_FLOAT", _tpu_input_identity = true, _tpu_replicate = "cluster", device = "", name = "replicated_input_1"} : (tensor<0xf32>) -> tensor<0xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir

      %biasadd = "tf.BiasAdd"(%conv, %dq_bias) {data_format = "NHWC", device = ""} : (tensor<*xf32>, tensor<2xf32>) -> tensor<*xf32>
      %res = "tf.Relu6"(%biasadd) : (tensor<*xf32>) -> tensor<*xf32>
      %q_res = "quantfork.qcast"(%res) : (tensor<*xf32>) -> tensor<*x!quant.uniform<i8:f32, 0.023529411764705882:-128>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

    static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
      func.func @main(%arg0 : tensor<1xf32>) -> tensor<1xf32> {
        %0 = "tf.Acos"(%arg0) : (tensor<1xf32>) -> tensor<1xf32>
       func.return %0 : tensor<1xf32>
      }
    })";
    
    static constexpr char kBadMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

          } : (tensor<1xf32>, tensor<f32>, tensor<i32>) -> tensor<1x!tf_type.qint8>
          %1 = "tf.UniformDequantize"(%0, %scales, %zps) {
            quantization_axis = -1 : i64, quantization_min_val = -128 : i64, quantization_max_val = 127 : i64
          } : (tensor<1x!tf_type.qint8>, tensor<f32>, tensor<i32>) -> tensor<1xf32>
          func.return %1 : tensor<1xf32>
        }
      })mlir";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

      func.return %2 : tensor<2xf32>
    }
    func.func private @callee(%arg0: tensor<!tf_type.resource<tensor<2xf32>>>) -> tensor<2xf32> {
      %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<2xf32>>>) -> tensor<2xf32>
      func.return %0 : tensor<2xf32>
    }
    
    
    // -----
    
    // Tests main function with multiple blocks.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/fused_kernel_matcher.mlir

      %1 = "tf.BiasAdd"(%0, %arg0) {data_format = "NHWC"} : (tensor<*xf32>, tensor<128xf32>) -> tensor<*xf32>
      %2 = "tf.Elu"(%1) : (tensor<*xf32>) -> tensor<*xf32>
      %3 = "tf.Identity"(%2) : (tensor<*xf32>) -> tensor<*xf32>
      %4 = "tf.Identity"(%0) : (tensor<*xf32>) -> tensor<*xf32>
      func.return %3, %4 : tensor<*xf32>, tensor<*xf32>
    }
    
    // CHECK-LABEL: conv2DBiasAdd_biasAddMultipleUse
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tests/test_tf_to_stablehlo.mlir

    // CHECK: %[[UDQ:.*]] = stablehlo.uniform_dequantize %[[BITCAST_CONVERT_1]] : (tensor<1x!quant.uniform<i8:f32, 1.000000e+00:3>>) -> tensor<1xf32>
    // CHECK: return %[[UDQ]] : tensor<1xf32>
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
        func.func @main(%arg0 : tensor<?xf32>) -> tensor<?xf32> {
          %scales = "tf.Const"() { value = dense<1.0> : tensor<f32> } : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc

    }
    
    TEST_F(IsOpFullyQuantizedTest, FalseIfOpNotQuantized) {
      constexpr absl::string_view kNotQuantizedAdd = R"mlir(
        func.func @not_quantized_add(%arg0: tensor<2xf32>) -> tensor<2xf32> {
          %0 = stablehlo.add %arg0, %arg0 : tensor<2xf32>
          return %0 : tensor<2xf32>
        }
      )mlir";
    
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kNotQuantizedAdd);
      ASSERT_TRUE(module_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top