Skip to main content

SIGMOID_LUT_OUTPUT_SCALE

Constant SIGMOID_LUT_OUTPUT_SCALE 

Source
pub const SIGMOID_LUT_OUTPUT_SCALE: f32 = _; // 0.00390625f32
Expand description

Output scale of the sigmoid LUTs the recurrent cells read: 1/256, with zero point -128 (C++ kQLstmSigmoidOutputScale). Build them with build_sigmoid_lut(lut_input_scale, 0, SIGMOID_LUT_OUTPUT_SCALE, -128).