Searched refs:sigmoid_approx (Results 1 – 2 of 2) sorted by relevance
67 static OPUS_INLINE float sigmoid_approx(float x) in sigmoid_approx() function97 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()
69 static OPUS_INLINE float sigmoid_approx(float x) in sigmoid_approx() function97 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()