19 TensorQuantizationParams GetInputQuantizationParams()
const {
22 TensorQuantizationParams GetOutputQuantizationParams()
const {
30 TensorQuantizationParams in_qparams_, out_qparams_;
sigmoid(x) = (tanh(x/2) + 1)/2 Quantized sigmoid is computed as tanh under the hood, we just use different input/output quantization parameters.
We use the 3-region approach described in "Efficient VLSI Implementation of Neural Networks with Hype...