- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 581 for qi32 (0.12 sec)
-
tensorflow/compiler/mlir/lite/utils/variables_utils.cc
return true; } // Check quantized types. if (auto quant_type = element_type.dyn_cast<mlir::quant::QuantizedType>()) { // TFLite supports QI16, QI32, QI8, and QUI8 if ((quant_type.getStorageTypeIntegralWidth() == 16 && quant_type.isSigned()) || quant_type.getStorageTypeIntegralWidth() == 8 || (quant_type.getStorageTypeIntegralWidth() == 32 &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 19:32:03 UTC 2021 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto
FLOAT16 = 3; // Apply static range quantization. The quantization range is determined // via calibration phase and quantized during conversion. // Activation: qi8, Weight: qi8, Bias: qi32 POST_TRAINING_QUANTIZATION_STATIC_RANGE = 4; } PresetMethod preset_method = 1; } // Custom option for specifying quantization spec details.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 22 02:20:05 UTC 2023 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/utils.h
return quantized_type != nullptr && quantized_type.getStorageTypeIntegralWidth() == 8 && !quantized_type.isSigned(); } // Return true when the given element_type is QI32. inline bool IsQI32Type(Type t) { auto quantized_type = quant::QuantizedType::getQuantizedElementType(t); return quantized_type != nullptr && quantized_type.getStorageTypeIntegralWidth() == 32 &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td
def QUI8 : QuantizedType<"Uniform", [8], 0>; def QI8 : QuantizedType<"Uniform", [8], 1>; def QUI16 : QuantizedType<"Uniform", [16], 0>; def QI16 : QuantizedType<"Uniform", [16], 1>; def QUI32 : QuantizedType<"Uniform", [32], 0>; def QI32 : QuantizedType<"Uniform", [32], 1>; //===----------------------------------------------------------------------===// // TFL native op traits (for quantization). //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
// Bias TFL_TensorOfOrNone<[F32, QI32]>:$input_gate_bias, TFL_TensorOf<[F32, QI32]>:$forget_gate_bias, TFL_TensorOf<[F32, QI32]>:$cell_bias, TFL_TensorOf<[F32, QI32]>:$output_gate_bias, // Projection weight and bias TFL_TensorOfOrNone<[F32, QI8]>:$projection_weights, // Optional input TFL_TensorOfOrNone<[F32, QI32]>:$projection_bias,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
ArrayRef<int64_t> shape(rank); TensorType permutation_type = operand_type.cloneWith(shape, rewriter.getI32Type()); // Cast permutation attribute from i64 to i32 as they are required to be i32 // in TFLite. SmallVector<int32_t> permutation_i32 = CastI64ArrayToI32(op.getPermutation()).value(); auto permutation_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// CHECK: %[[CONV2D:.+]] = "tfl.conv_2d"(%[[ARG]], %[[QCONST_0]], %[[QCONST_1]]) <{dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 1 : i32, stride_w = 1 : i32}> : (tensor<1x3x3x4x!quant.uniform<i8:f32, 3.000000e+00:-100>>,...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-tf.mlir
func.func @add_v2_uint32(%arg0: tensor<ui32>, %arg1: tensor<ui32>) -> tensor<ui32> { %0 = "tf.AddV2"(%arg0, %arg1) : (tensor<ui32>, tensor<ui32>) -> tensor<ui32> func.return %0 : tensor<ui32> // CHECK-LABEL: add_v2_uint32 // CHECK: %[[CAST:.*]] = "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<ui32>) -> tensor<i32> // CHECK: %[[CAST1:.*]] = "tf.Cast"(%arg1) <{Truncate = false}> : (tensor<ui32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 59.8K bytes - Viewed (0) -
src/cmd/compile/internal/test/float_test.go
t.Errorf("float64(u16) != du16") } if float64(u8) != du8 { t.Errorf("float64(u8) != du8") } if float64(i64) != di64 { t.Errorf("float64(i64) != di64") } if float64(i32) != di32 { t.Errorf("float64(i32) != di32") } if float64(i16) != di16 { t.Errorf("float64(i16) != di16") } if float64(i8) != di8 { t.Errorf("float64(i8) != di8") } if float32(u64) != su64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
func.func @testUnimplementedOp() -> (tensor<i32>, tensor<i32>) { %0 = arith.constant dense<1> : tensor<i32> %1 = arith.constant dense<2> : tensor<i32> %2 = "tf.Maximum"(%0, %1) {_output_shapes = ["tfshape$"]} : (tensor<i32>, tensor<i32>) -> tensor<i32> %3 = "tf.Minimum"(%0, %1) {random_attr = "hello"} : (tensor<i32>, tensor<i32>) -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0)