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