Created by: luotao1
Since softmax support float16 on GPU, https://github.com/PaddlePaddle/Paddle/blob/a9b5d42dd42fd27104740772819d9ec186925f05/paddle/fluid/operators/softmax_cudnn_op.cu.cc#L77-L84 this PR fix softmax input error check on float16.
Created by: luotao1
Since softmax support float16 on GPU, https://github.com/PaddlePaddle/Paddle/blob/a9b5d42dd42fd27104740772819d9ec186925f05/paddle/fluid/operators/softmax_cudnn_op.cu.cc#L77-L84 this PR fix softmax input error check on float16.