My Project
|
#include <UniformSolvers.h>
Public Member Functions | |
UniformParamsFromMinMaxSolver (const UniformStorageParams &storageParams, double boundingMin, double boundingMax) | |
bool | compute () |
Performs the computation, returning whether satisfied. More... | |
double | getBoundingMin () const |
double | getBoundingMax () const |
bool | isSatisfied () const |
double | getAdjMin () const |
double | getAdjMax () const |
double | getScale () const |
int64_t | getZp () const |
int | getStepCount () const |
int64_t | quantize (double x) const |
double | dequantize (int64_t xq) const |
Solves for the uniform quantization scheme parameters delta and z given bounding min/max.
|
inline |
bool UniformParamsFromMinMaxSolver::compute | ( | ) |
Performs the computation, returning whether satisfied.
double UniformParamsFromMinMaxSolver::dequantize | ( | int64_t | xq | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int64_t UniformParamsFromMinMaxSolver::quantize | ( | double | x | ) | const |