Skip to main content

TANH_LUT_OUTPUT_SCALE

Constant TANH_LUT_OUTPUT_SCALE 

Source
pub const TANH_LUT_OUTPUT_SCALE: f32 = _; // 0.0078125f32
Expand description

Output scale of the tanh LUTs the recurrent cells read: 1/128, with zero point 0 (C++ kQLstmTanhOutputScale). Build them with build_tanh_lut(lut_input_scale, 0, TANH_LUT_OUTPUT_SCALE, 0).