0
在朱莉娅郎,文档指出您可以使用设置的batch_size工作进程的数量:在PMAP的batch_size设置()朱莉娅
pmap([::AbstractWorkerPool, ]f, c...; distributed=true, batch_size=1, on_error=nothing, retry_n=0, retry_max_delay=DEFAULT_RETRY_MAX_DELAY, retry_on=DEFAULT_RETRY_ON) → collection
但我似乎无法找到如何通过工作示例参数。
我试过: pmap(f,x; true,10)和pmap(f,x; distributed = true,batch_size = 10)紧靠两种方法都不起作用。有没有人知道传递batch_size参数的正确方法?
感谢,这解决了问题。 – JJTO