multiprocessing a function that returns list in python

前端 未结 0 879
臣服心动
臣服心动 2021-02-10 03:46

Given this example:

I want to distribute the calculation over a list (map)

from multiprocessing import Pool


def fun(elem):
    lis = []
    for i in rang         


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