This tanh implementation of sigmoid is two times faster than scipy.special.expit. 
This tanh implementation of sigmoid is two times faster than scipy.special.expit.