Searched refs:calibrated_type (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | prepare_quantize_helper.h | 450 auto calibrated_type = in processIntermediates() local 452 if (!calibrated_type) { in processIntermediates() 467 calibrated_type.getMin(), calibrated_type.getMax(), in processIntermediates() 468 /*narrowRange=*/false, calibrated_type.getExpressedType(), in processIntermediates() 471 qtype = quant::DownCastScale(qtype, calibrated_type.getMin(), in processIntermediates() 472 calibrated_type.getMax(), op.getLoc()) in processIntermediates() 476 double max = std::max(std::abs(calibrated_type.getMin()), in processIntermediates() 477 std::abs(calibrated_type.getMax())); in processIntermediates() 480 /*narrowRange=*/true, calibrated_type.getExpressedType(), in processIntermediates()
|