Searched refs:tansig_approx (Results 1 – 1 of 1) sorted by relevance
39 static OPUS_INLINE float tansig_approx(float x) in tansig_approx() function69 return .5f + .5f*tansig_approx(.5f*x); in sigmoid_approx()93 output[i] = tansig_approx(output[i]); in compute_dense()136 h[i] = z[i]*state[i] + (1-z[i])*tansig_approx(WEIGHTS_SCALE*sum); in compute_gru()