Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Quant/Utils/
DFakeQuantSupport.cpp70 const double qminDouble = qmin; in getNudgedScaleAndZeroPoint() local
72 scale = (rmax - rmin) / (qmaxDouble - qminDouble); in getNudgedScaleAndZeroPoint()
81 const double zeroPointFromMin = qminDouble - rmin / scale; in getNudgedScaleAndZeroPoint()
83 std::abs(qminDouble) + std::abs(rmin / scale); in getNudgedScaleAndZeroPoint()
94 if (zeroPointDouble < qminDouble) { in getNudgedScaleAndZeroPoint()