Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for 1xi8 (0.05 sec)

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

    // CHECK-SAME: (tensor<1x2x2x3xi8>, tensor<2x2x3x2xi8>, tensor<2xi32>, tensor<f32>, tensor<i32>, tensor<2xf32>, tensor<2xi32>, tensor<2xf32>, tensor<2xi32>, tensor<f32>, tensor<i32>) -> tensor<*xi8>
    // CHECK: %[[cast_1:.*]] = "tf.Cast"(%[[conv_quant]]) <{Truncate = false}> : (tensor<*xi8>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 01:23:21 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir

      func.return %11 : tensor<*xf32>
    }
    
    // CHECK: %[[maxpool_i8:.*]] = "tf.MaxPool"
    // CHECK-SAME: (tensor<*xi8>) -> tensor<*xi8>
    // CHECK: %[[reshape_i8:.*]] = "tf.Reshape"(%[[maxpool_i8]]
    // CHECK-SAME: (tensor<*xi8>, tensor<2xi32>) -> tensor<*xi8>
    // CHECK: %[[scast:.*]] = "quantfork.scast"(%[[reshape_i8]]
    // CHECK: %[[matmul:.*]] = "tf.PartitionedCall"(%[[scast]]
    // CHECK-SAME: f = @composite_matmul_fn_1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_weights.mlir

    // CHECK: return %[[MATMUL]] : tensor<*xf32>
    
    // CHECK-LABEL: func.func private @composite_dequantize_uniform(%arg0: tensor<*xi8>) -> tensor<*xf32>
    // CHECK-DAG: %[[SCALE:.*]] = "tf.Const"() <{value = dense<0.0157480314> : tensor<f32>
    // CHECK: %[[CASTED_W:.*]] = "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<*xi8>) -> tensor<*xf32>
    // CHECK: %[[DEQUANTIZED:.*]] = "tf.Mul"(%[[CASTED_W]], %[[SCALE]]) : (tensor<*xf32>, tensor<f32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 42K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

      // Argument has rank 2, but its dimensions are unknown.
      constexpr absl::string_view kArgumentWithUnknownDims = R"mlir(
        func.func @unknown_dims_arg(%arg: tensor<?x?xi8>) -> tensor<?x?xi8> {
          return %arg : tensor<?x?xi8>
        }
      )mlir";
    
      OwningOpRef<ModuleOp> module_op =
          ParseModuleOpString(kArgumentWithUnknownDims);
      ASSERT_TRUE(module_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    // test stablehlo roundtrip
    
    // 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:}
    
    func.func @logistic(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

    // operate on quantized values.
    //
    // Examples from storage to quantized type:
    //   i8 -> !quant<"uniform[i8:f32]{1.0}">
    //   tensor<4xi8> -> tensor<4x!quant<"uniform[i8:f32]{1.0}">>
    //   vector<4xi8> -> vector<4x!quant<"uniform[i8:f32]{1.0}">>
    def Quantization_StorageCastOp : Quantization_Op<"scast", [Pure]> {
      let arguments = (ins quant_RealOrStorageValueType:$arg);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

    }
    
    TEST_F(ConvertTfQuantToMhloIntTest, UniformRequantizeToValidGraph) {
      constexpr absl::string_view kProgram = R"mlir(
    func.func @main(%input: tensor<10xi8>) -> tensor<10xi8> {
      %input_scale = "tf.Const"() { value = dense<0.2235> : tensor<f32> } : () -> tensor<f32>
      %input_zp = "tf.Const"() { value = dense<-2> : tensor<i32> } : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

    // CHECK-LABEL: fused_conv2d
    func.func @fused_conv2d(%input: tensor<1x300x300x40xi8>,
                            %filter: tensor<3x3x40x40xi8>,
                            %bias: tensor<40xf32>,
                            %act: tensor<0xi8>) -> tensor<1x300x300x40xi8> {
    
      // CHECK:       %[[v0:.*]] = mhlo.constant dense<1.000000e+00> : tensor<f32>
      // CHECK-NEXT:  %[[v1:.*]] = mhlo.constant dense<2.000000e+00> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_xla.mlir

    // CHECK: %[[maxpool:.*]] = "tf.MaxPool"(%[[conv_quant]]) <{data_format = "NHWC", ksize = [1, 2, 2, 1], padding = "VALID", strides = [1, 1, 1, 1]}> : (tensor<*xi8>) -> tensor<*xi8>
    // CHECK: %[[dequantize:.*]] = "tf.PartitionedCall"(%[[maxpool]]
    // CHECK-SAME: f = @dequantize_i8
    // CHECK: return %[[dequantize]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. cmd/testdata/xl-meta-merge.zip

    ÚûR¸¬+Ke4­7qV „ D [ßTs’…[La„ ReÎÚS S ²øNzÐI 1½i_t¸sñ•fSOG•}axgY1\eòuh¿URg\ãteñjW™oWZåKZD_³I\ã Hs7o]f_@é–rD}vƒ±<ê Hº}ñre¸osQZôu^] poMßseòxiDq]p®ö^ » %eOrñs{Bv€¡ûp@oK]^ô „TW`¼ ûR? ¨[tˆˆ‚«æq@Œ+_lpkSIˆ^ñ @I¾¦fW pPc{^<ˆâïò û@ ; OPmyßt}æ^IªêVkq ^pu²vñ^Ty[Sxi8¿l ’Œ€à@DK~Ô^zÜJ ¨™1|vž}û\–iY»ÕmP\ep—÷SlûY¡\ïTmG_s™Ùs`H{_}©GEì´Œ»SqòSa¸ïL}ÂbDR^Ì ÕO„V^e¼Bñjhñqkxé°{W_÷E@JˆVk<‚Åò y¦Õ^kh~ ô[Rg¢?qr› †ÕsHrïpŠQR¾xPe¨¹yndñ E¾Ri]Ü ª m|jqme¨àr 2Jdª}gVPªzæi¾LK^j¼VU VdC²HHg@e¼Yp8ì[Negz{Öa€uV¢Qrûcf¼csM¼SGTܤ%ûX; „^y²IRñre¸fO^...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top