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