Searched refs:tansig_approx (Results 1 – 3 of 3) sorted by relevance
42 static OPUS_INLINE opus_val16 tansig_approx(opus_val32 _x) /* Q19 */68 static OPUS_INLINE float tansig_approx(float x) in tansig_approx() function110 hidden[j] = tansig_approx(sum);118 out[j] = tansig_approx(EXTRACT16(PSHR32(sum,17)));134 hidden[j] = tansig_approx(sum); in mlp_process()142 out[j] = tansig_approx(sum); in mlp_process()
46 static inline double tansig_approx(double x) in tansig_approx() function
148 hidden[i] = tansig_approx(sum); in compute_gradient()155 netOut[i] = tansig_approx(sum); in compute_gradient()