torch.set\_num\_threads ======================= .. currentmodule:: torch .. autofunction:: set_num_threads