torch.Tensor.index_put¶
-
Tensor.
index_put
(tensor1, indices, values, accumulate=False) → Tensor¶ Out-place version of
index_put_()
. tensor1 corresponds to self intorch.Tensor.index_put_()
.
Tensor.
index_put
(tensor1, indices, values, accumulate=False) → Tensor¶Out-place version of index_put_()
.
tensor1 corresponds to self in torch.Tensor.index_put_()
.