sigmoid(x) = (tanh(x/2) + 1)/2 Quantized sigmoid is computed as tanh under the hood, we just use different input/output quantization parameters. More...
#include <sigmoid.h>
Public Member Functions | |
Sigmoid (double max_abs_err_=Tanh< T >::DEFAULT_MAX_ABS_ERR) | |
T | Compute (T x) const |
TensorQuantizationParams | GetInputQuantizationParams () const |
TensorQuantizationParams | GetOutputQuantizationParams () const |
sigmoid(x) = (tanh(x/2) + 1)/2 Quantized sigmoid is computed as tanh under the hood, we just use different input/output quantization parameters.