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