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