I am just experimenting with defining new autograd Function for sigmoid MySigmoid similar to MyReLU in the tutorial, but the output for loss is printing nan

Screen Shot 2017-12-26 at 1.17.52 AM.png1536×416 49.1 KB

What is wrong?