Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Quant/Utils/
H A DFakeQuantSupport.cpp67 double rmax, double &scale, in getNudgedScaleAndZeroPoint() argument
72 scale = (rmax - rmin) / (qmaxDouble - qminDouble); in getNudgedScaleAndZeroPoint()
84 const double zeroPointFromMax = qmaxDouble - rmax / scale; in getNudgedScaleAndZeroPoint()
86 std::abs(qmaxDouble) + std::abs(rmax / scale); in getNudgedScaleAndZeroPoint()
109 double rmax, bool narrowRange, in fakeQuantAttrsToType() argument
125 if (std::fabs(rmax - rmin) < std::numeric_limits<double>::epsilon()) { in fakeQuantAttrsToType()
132 getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint); in fakeQuantAttrsToType()
166 double rmax = rmaxs[axis]; in fakeQuantAttrsToType() local
167 if (std::fabs(rmax - rmin) < std::numeric_limits<double>::epsilon()) { in fakeQuantAttrsToType()
175 getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint); in fakeQuantAttrsToType()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DFakeQuantSupport.h52 double rmin, double rmax,
61 ArrayRef<double> rmins, ArrayRef<double> rmax,
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dmultiselect.ll6 …ne void @test0(i32 signext %positive, double %base, double %offset, double* %rmin, double* %rmax) {
19 store double %max, double* %rmax, align 8