torch.utils.swap\_tensors ========================= .. currentmodule:: torch.utils .. autofunction:: swap_tensors