评价此页

torch.get_num_interop_threads#

torch.get_num_interop_threads() int#

返回 CPU 上用于跨操作并行(例如在 JIT 解释器中)的线程数。