Unable to use pool.apply_async to aggregate results with multiprocessing

前端 未结 0 1620
误落风尘
误落风尘 2021-01-01 15:58

Let\'s say I have the following function:

def fetch_num():
    x = np.random.randint(low=0, high=1000000) # choose a number
    for i in range(5000000): # do          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题