torch.Tensor.index_put

Tensor.index_put(indices, values, accumulate=False) Tensor

out-of-place版本的index_put_()

本页目录