Searched refs:legacy_float_scale (Results 1 – 10 of 10) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | quantize.cc | 114 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()
|
D | prepare_quantize.cc | 70 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()
|
D | prepare_quantize_helper.h | 315 /*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()
|
D | passes.h | 52 bool verify_numeric = false, bool legacy_float_scale = false);
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/ |
D | quantize_model.cc | 48 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()
|
D | quantize_model.h | 45 bool legacy_float_scale = true);
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_utils.h | 97 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 …]
|
D | quantization_utils.cc | 84 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 …]
|
D | quantization_config.h | 51 bool legacy_float_scale = false; member
|
D | quantization_driver.cc | 103 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()
|