pytorch / 1 / generated / torch.tensor.masked_scatter.html

torch.Tensor.masked_scatter

Tensor.masked_scatter(mask, tensor) → Tensor

Out-of-place version of torch.Tensor.masked_scatter_()

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.Tensor.masked_scatter.html