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