- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Quantized_Constant (0.91 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/quint8-const.pbtxt
# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -o - -mlir-print-debuginfo -mlir-print-local-scope | FileCheck %s node { name: "Quantized_Constant" op: "Const" attr { key: "dtype" value { type: DT_QUINT8 } } attr { key: "value" value { tensor { dtype: DT_QUINT8 tensor_shape { } int_val: 7 } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 05 09:05:10 UTC 2022 - 639 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/quantization.mlir
%6 = "tfl.dequantize"(%5) : (tensor<1x401408x!quant.uniform<u8:f32, 3.906250e-03>>) -> tensor<1x401408xf32> func.return %6 : tensor<1x401408xf32> } // CHECK-LABEL: quantized_constant func.func @quantized_constant(%arg0: tensor<1x2xf32>) -> tensor<2x2xf32> { %1 = "tfl.quantize"(%arg0) {qtype = tensor<1x2x!quant.uniform<u8:f32, 1.0>>, volatile} : (tensor<1x2xf32>) -> tensor<1x2x!quant.uniform<u8:f32, 1.0>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// CHECK: stablehlo.add // CHECK-NOT: tfl.add // ----- // Tests that a quantized `stablehlo.constant` is converted into `tfl.qconst`. // CHECK-LABEL: func @quantized_constant func.func @quantized_constant() -> tensor<1x2x4x5x!quant.uniform<i8:f32, 1.000000e+0>> { %0 = stablehlo.constant() {value = dense<1> : tensor<1x2x4x5xi8>} : () -> tensor<1x2x4x5x!quant.uniform<i8:f32, 1.000000e+0>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0)