Home
last modified time | relevance | path

Searched refs:legacy_float_scale (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dquantize.cc114 bool legacy_float_scale = false) in QuantizePass()
116 legacy_float_scale(legacy_float_scale) {} in QuantizePass()
122 bool legacy_float_scale; member
131 if (legacy_float_scale) { in runOnFunction()
144 bool verify_numeric, bool legacy_float_scale) { in CreateQuantizePass() argument
145 return std::make_unique<QuantizePass>(verify_numeric, legacy_float_scale); in CreateQuantizePass()
Dprepare_quantize.cc70 static llvm::cl::opt<bool> legacy_float_scale( variable
112 quant_specs_.legacy_float_scale = legacy_float_scale; in PrepareQuantizePass()
388 quant_specs_.legacy_float_scale, ctx); in runOnFunction()
393 quant_specs_.legacy_float_scale, ctx); in runOnFunction()
410 GetOpQuantSpec, infer_tensor_range, quant_specs_.legacy_float_scale); in runOnFunction()
Dprepare_quantize_helper.h315 /*narrow_range=*/true, quant_specs.legacy_float_scale) in processConstantOp()
389 if (quant_specs.legacy_float_scale) { in replaceStatsOp()
470 if (this->quant_specs.legacy_float_scale) { in processIntermediates()
501 bool legacy_float_scale) -> quant::QuantParams { in GetUniformQuantizedTypeForBiasWithScale()
503 GetUniformQuantizedTypeForBias(quant_params, legacy_float_scale) in GetUniformQuantizedTypeForBiasWithScale()
Dpasses.h52 bool verify_numeric = false, bool legacy_float_scale = false);
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dquantize_model.cc48 bool legacy_float_scale) { in QuantizeModel() argument
97 quant_specs.legacy_float_scale = legacy_float_scale; in QuantizeModel()
100 pm.addPass(TFL::CreateQuantizePass(verify_numeric, legacy_float_scale)); in QuantizeModel()
Dquantize_model.h45 bool legacy_float_scale = true);
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.h97 bool legacy_float_scale, MLIRContext* context) in ConvertStatsToQDQs()
102 legacy_float_scale(legacy_float_scale) {} in ConvertStatsToQDQs()
131 if (legacy_float_scale) { in matchAndRewrite()
146 if (legacy_float_scale) { in matchAndRewrite()
170 bool legacy_float_scale; member
501 bool is_signed, bool legacy_float_scale = false);
537 bool legacy_float_scale = false);
546 bool legacy_float_scale = false);
553 bool legacy_float_scale = false);
568 bool legacy_float_scale = false);
[all …]
Dquantization_utils.cc84 bool legacy_float_scale) { in GetQuantizedType() argument
99 if (legacy_float_scale) { in GetQuantizedType()
114 if (legacy_float_scale) { in GetQuantizedType()
158 bool is_signed, bool legacy_float_scale) { in GetQuantizedTypeAttr() argument
183 narrow_range.getValue(), is_signed, legacy_float_scale); in GetQuantizedTypeAttr()
323 bool legacy_float_scale) { in GetUniformQuantizedTypeForWeight() argument
339 is_signed, legacy_float_scale); in GetUniformQuantizedTypeForWeight()
349 bool legacy_float_scale) { in GetUniformQuantizedPerAxisTypeForWeight() argument
369 narrow_range, is_signed, legacy_float_scale); in GetUniformQuantizedPerAxisTypeForWeight()
378 bool legacy_float_scale) { in GetUniformQuantizedTypeForBias() argument
[all …]
Dquantization_config.h51 bool legacy_float_scale = false; member
Dquantization_driver.cc103 bool infer_tensor_range, bool legacy_float_scale) in QuantizationDriver() argument
110 legacy_float_scale_(legacy_float_scale) {} in QuantizationDriver()
929 bool legacy_float_scale) { in ApplyQuantizationParamsPropagation() argument
931 infer_tensor_ranges, legacy_float_scale) in ApplyQuantizationParamsPropagation()