Tanh By Prithwiraj samanta Tanh activation function function tanh(x) { //Logic //Refer to Sigmond Post to get details of the function return 2*sigmoid(2*x) - 1; } Share Get link Facebook X Pinterest Email Other Apps Share Get link Facebook X Pinterest Email Other Apps