torch.get_num_interop_threads

torch.get_num_interop_threads() int

返回在CPU上用于并发并行处理的线程数量(例如在JIT解释器中)

本页目录