可使用multiprocessing.cpu_count() 或os.cpu_count() 來獲取當前機器的CPU 核心數量。 假設目前CPU 是四核,那麼process 設定如果超過4 的話,代表有個核 ...
確定! 回上一頁