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