Home
last modified time | relevance | path

Searched refs:sigmoid_approx (Results 1 – 2 of 2) sorted by relevance

/external/libopus/src/
Dmlp.c67 static OPUS_INLINE float sigmoid_approx(float x) in sigmoid_approx() function
97 output[i] = sigmoid_approx(output[i]); in compute_dense()
122 z[i] = sigmoid_approx(WEIGHTS_SCALE*z[i]); in compute_gru()
130 r[i] = sigmoid_approx(WEIGHTS_SCALE*r[i]); in compute_gru()
/external/rnnoise/src/
Drnn.c69 static OPUS_INLINE float sigmoid_approx(float x) in sigmoid_approx() function
97 output[i] = sigmoid_approx(output[i]); in compute_dense()
128 z[i] = sigmoid_approx(WEIGHTS_SCALE*sum); in compute_gru()
138 r[i] = sigmoid_approx(WEIGHTS_SCALE*sum); in compute_gru()
148 if (gru->activation == ACTIVATION_SIGMOID) sum = sigmoid_approx(WEIGHTS_SCALE*sum); in compute_gru()