- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AddQuantizationPasses (0.31 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/quantize_passes.h
namespace stablehlo { namespace quantization { // Adds passes for quantization of individual quantizable components. // (i.e. activation, weight, bias) void AddQuantizationPasses(mlir::PassManager& pass_manager, const QuantizationOptions& quantization_options); } // namespace quantization } // namespace stablehlo
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 22 12:03:14 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/quantize_passes.cc
#include "tensorflow/compiler/mlir/quantization/stablehlo/utils/fill_quantization_options.h" namespace stablehlo { namespace quantization { void AddQuantizationPasses(mlir::PassManager& pass_manager, const QuantizationOptions& quantization_options) { QuantizationOptions quantization_options_ = quantization_options;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.h
mlir::OpPassManager* pass_manager); // Add the Quantization passes, specified in the pass_config, into a pass // manager. void AddQuantizationPasses(const mlir::TFL::PassConfig& pass_config, mlir::OpPassManager& pass_manager); // Add the DynamicRangeQuantization passes, specified in the pass_config, into a // pass manager.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 01 06:14:07 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc
if (fully_quantize) { input_mlir_type = tflite::ConvertElementType(inference_type, mlir_builder); output_mlir_type = input_mlir_type; } tensorflow::AddQuantizationPasses(mlir::TFL::PassConfig(quant_specs), pm); pm.addPass(TFL::CreateModifyIONodesPass(input_mlir_type, output_mlir_type)); // If the first or final ops are not quantized, remove QDQ.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
CreateTFExecutorToControlDialectConversion(); } // namespace mlir namespace tensorflow { namespace { // Data layout supported by TFLite. constexpr mlir::StringRef kTFLiteDataLayout = "NHWC"; } // namespace void AddQuantizationPasses(const mlir::TFL::PassConfig& pass_config, mlir::OpPassManager& pass_manager) { const mlir::quant::QuantizationSpecs& quant_specs = pass_config.quant_specs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
mlir::odml::GetAcceptedStableHLODialects())); mlir::odml::AddStablehloOptimizationPasses(pass_manager); if (toco_flags.has_quantization_options()) { stablehlo::quantization::AddQuantizationPasses( pass_manager, toco_flags.quantization_options()); } if (failed(pass_manager.run(module))) { return status_handler.ConsumeStatus(); } if (export_to_mlir) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0)