torch.Tensor.index_fill¶ Tensor.index_fill(dim, index, value) → 张量¶ 就地版本的 torch.Tensor.index_fill_()。