评价此页

torch.get_num_interop_threads#

torch.get_num_interop_threads() int#

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