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