評價此頁

torch.get_num_interop_threads#

torch.get_num_interop_threads() int#

返回用於 CPU 上互操作並行(例如 JIT 直譯器中)的執行緒數。