- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for QUANTIZED_INT8 (0.4 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/tests/target-annotation.mlir
// CHECK-NOT: tac.device tac.inference_type %1 = "tfl.pseudo_const"() {value = dense<[4, 384, 32]> : tensor<3xi32>} : () -> tensor<3xi32> // CHECK: tac.device = "CPU", tac.inference_type = "QUANTIZED_INT8" %2 = "tfl.reshape"(%arg0, %0) : (tensor<4x384x32x!quant.uniform<i8:f32, 0.2:-3>>, tensor<4xi32>) -> tensor<1x4x384x32x!quant.uniform<i8:f32, 0.2:-3>> // CHECK-NOT: tac.device tac.inference_type
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 19:32:06 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h
enum InferenceType { UNKNOWN = 0, FLOAT = 1, QUANTIZED_INT8 = 2, QUANTIZED_UINT8 = 3, HYBRID = 4 }; inline InferenceType GetInferenceTypeEnum(llvm::StringRef inference_type_str) { if (inference_type_str == "FLOAT") { return FLOAT; } else if (inference_type_str == "QUANTIZED_INT8") { return QUANTIZED_INT8; } else if (inference_type_str == "QUANTIZED_UINT8") { return QUANTIZED_UINT8;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.h
#include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/model.h" namespace mlir { namespace lite { // Supported resulting types from quantization process. enum class BufferType { QUANTIZED_INT8, QUANTIZED_FLOAT16 }; // Stores information about how to quantize a user-specified custom operation. // CustomOpInfo contains info of its corresponding CustomOp registered in the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/utils.cc
if (float_type_observed) { if (int8_type_observed || uint8_type_observed) { return HYBRID; } else { return FLOAT; } } if (int8_type_observed) { return QUANTIZED_INT8; } if (uint8_type_observed) { return QUANTIZED_UINT8; } // Default to float inference. return FLOAT; } } // namespace tac } // namespace TFL
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 05:37:07 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc
// is just an estimation. constexpr float kQuantizedInferenceEfficiency = 0.3; inline float InferenceTypeEfficiency(InferenceType inference_type) { if (inference_type == QUANTIZED_INT8 || inference_type == QUANTIZED_UINT8) { return kQuantizedInferenceEfficiency; } return 1.0; } // CPU hardware class which handles CPU capabilities in TFLite.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 5.9K bytes - Viewed (0)