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