torch.Tensor.index_fill¶
-
Tensor.
index_fill
(tensor1, dim, index, value) → Tensor¶ Out-of-place version of
torch.Tensor.index_fill_()
. tensor1 corresponds to self intorch.Tensor.index_fill_()
.
Tensor.
index_fill
(tensor1, dim, index, value) → Tensor¶Out-of-place version of torch.Tensor.index_fill_()
.
tensor1 corresponds to self in torch.Tensor.index_fill_()
.