Implemented grad for cudnn softmax.

remove (inp)