- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for 1xi8 (0.09 sec)
-
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) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.mlir
// CHECK: %[[maxpool_i8:.*]] = "tf.MaxPool"(%[[sc1]]) // CHECK-SAME: (tensor<*xi8>) -> tensor<*xi8> // CHECK: %[[reshape_i8:.*]] = "tf.Reshape"(%[[maxpool_i8]] // CHECK-SAME: (tensor<*xi8>, tensor<2xi32>) -> tensor<*xi8> // CHECK: %[[sc2:.*]] = "quantfork.scast"(%[[reshape_i8]]) // CHECK: %[[dq:.*]] = "quantfork.dcast"(%[[sc2]]) : (tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:32:28 UTC 2024 - 6.4K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 7.7K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/tests/optimize.mlir
%f0 = "tfl.logical_and"(%arg0, %cst_false0): (tensor<1xi1>, tensor<1xi1>) -> tensor<1xi1> // match %f1 = "tfl.logical_and"(%arg0, %cst_false1): (tensor<1xi1>, tensor<2x3xi1>) -> tensor<2x3xi1> // match %f2 = "tfl.logical_and"(%arg1, %cst_false0): (tensor<2x3xi1>, tensor<1xi1>) -> tensor<2x3xi1> // no match
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 284.1K bytes - Viewed (0) -
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)