torch.Tensor.index_put¶ Tensor.index_put(indices, values, accumulate=False) → Tensor¶ 是 index_put_() 的非原地(Out-place)版本。