torch.accelerator.device\_count =============================== .. currentmodule:: torch.accelerator .. autofunction:: device_count