torch.index_copy
-
torch.index_copy(input: Tensor, dim: int, index: Tensor, source: Tensor, *, out: Tensor | None) → Tensor -
Описание функции см. в
index_copy_().
© 2026, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.14/generated/torch.index_copy.html