Searched refs:profParams (Results 1 – 3 of 3) sorted by relevance
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/lib/Quantization/Base/ |
H A D | Base.cpp | 27 float getTensorAverageValue(const TensorProfilingParams &profParams) { in getTensorAverageValue() argument 28 size_t numBins = profParams.histogram.size(); in getTensorAverageValue() 30 float histDelta = (profParams.max - profParams.min) / (float)(numBins); in getTensorAverageValue() 31 float histOff = profParams.min + histDelta / 2.0; in getTensorAverageValue() 36 float histBinCount = profParams.histogram[idx]; in getTensorAverageValue() 412 chooseQuantizationParams(TensorProfilingParams profParams, Schema schema, in chooseQuantizationParams() argument 414 float min = profParams.min; in chooseQuantizationParams() 415 float max = profParams.max; in chooseQuantizationParams() 464 if ((profParams.min != profParams.max) && (min != max) && in chooseQuantizationParams() 468 auto histRescaled = rescaleHistogram(profParams.histogram, profParams.min, in chooseQuantizationParams() [all …]
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/include/glow/Quantization/Base/ |
H A D | Base.h | 220 float getTensorAverageValue(const TensorProfilingParams &profParams); 329 chooseQuantizationParams(TensorProfilingParams profParams,
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/tests/unittests/ |
H A D | QuantizationTest.cpp | 184 TensorProfilingParams profParams(min, max, hist); in TEST() local 185 float avgVal = quantization::getTensorAverageValue(profParams); in TEST() 192 TensorProfilingParams profParams(min, max, hist); in TEST() local 193 float avgVal = quantization::getTensorAverageValue(profParams); in TEST() 200 TensorProfilingParams profParams(min, max, hist); in TEST() local 201 float avgVal = quantization::getTensorAverageValue(profParams); in TEST()
|