torch.Tensor.pin\_memory ======================== .. currentmodule:: torch .. automethod:: Tensor.pin_memory