- Sort Score
- Result 10 results
- Languages All
Results 41 - 49 of 49 for 1xi8 (0.05 sec)
-
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) -
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py
) ) module_str = self._extract_first_xla_call_module_op( self._output_saved_model_path ) self.assertTrue( re.search('stablehlo.dot_general.*xi8>.*xi8>.*xi32>', module_str) ) # Run quantization the first time, calibration is expected to be skipped. output_saved_model_path_2 = self.create_tempdir('output2').full_path
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 51.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc
if (!quantDenseAttr) { return nullptr; } // Cast from an expressed-type-based type to storage-type-based type, // preserving the sparse shape (i.e. tensor<4xf32> -> tensor<4xi8>). ShapedType newSparseType = mlir::dyn_cast_or_null<ShapedType>( quantizedElementType.castExpressedToStorageType( realSparseAttr.getType())); if (!newSparseType) { return nullptr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
// Test invalid tf.ToBool func.func @testInvalidToBool(%arg0: tensor<i32>) -> tensor<1xi1> { // expected-error @+2 {{'tf.ToBool' op failed to infer returned types}} // expected-error @+1 {{op inferred type(s) 'tensor<i1>' are incompatible with return type(s) of operation 'tensor<1xi1>'}} %0 = "tf.ToBool"(%arg0) : (tensor<i32>) -> tensor<1xi1> func.return %0 : tensor<1xi1> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
// CHECK: tf.Conv2DBackpropInput } func.func @assert_remove(%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: assert_remove // CHECK: tfl.less_equal // CHECK-NOT: Assert // 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) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
} // ----- // CHECK-LABEL: func @bitcast_smaller_input_width func.func @bitcast_smaller_input_width(%arg0: tensor<8xi8>) -> tensor<i64> { // CHECK: mhlo.bitcast_convert %arg0 : (tensor<8xi8>) -> tensor<i64> %0 = "tf.Bitcast"(%arg0) : (tensor<8xi8>) -> tensor<i64> func.return %0 : tensor<i64> } // ----- // CHECK-LABEL: func @bitcast_smaller_output_width
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
cmd/testdata/xl-meta-merge.zip
ÚûR¸¬+Ke47qV „ 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)