Shortcuts

torch.get_num_interop_threads

torch.get_num_interop_threads() int

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