Didier Marin
09/02/2021, 1:38 PMf
and `g`:
ys = f.map(xs)
zs = g.map(ys)
Is there a generic way to give g
batches of y values, for example 10, rather than one at a time ?
(And obviously, without having to wait for all the ys to be computed.)
Or is this something that is specific to the executor used ?Zach Angell
ys
values are small enough to fit in memory, it may be possible to implement this batching yourselfDidier Marin
09/02/2021, 2:05 PM