torch.Tensor.get\_device ======================== .. currentmodule:: torch .. automethod:: Tensor.get_device