torch_index_put {torch} | R Documentation |
indices
.Modify values selected by indices
.
torch_index_put(self, indices, values, accumulate = FALSE)
self |
(Tensor) Tensor that will be indexed. |
indices |
( |
values |
(Tensor) values that will be replaced the indexed location. Used
for |
accumulate |
(bool) Wether instead of replacing the current values with |