Hi,
If you plot the two functions you will see that they are both S
shaped, but that y = x / (1 + abs(x)) has a range of about -1 to 1 on
the y-axis, whereas the 2nd function has a range of about [0,1], which
is the range you will normally see for activation functions. So my
general advice would be to go for the second function (the one in the
code) unless you are working an a problem were you know that you want
an activation function with range [-1,1] (known as a bipolar
function).
Colin