Inplace version of softmax API, the output Tensor will be inplaced with input x. Please refer to softmax.
softmax
x