You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the inbatch_parallel now not supposed to be used on its own, we can refactor it with following goals in mind:
remove _use_self args
remove init/post functions: the container with init should be passed directly from Batch.apply_parallel, and the results should be post-processed in the Batch.apply_parallel as well
make inbatch_parallel a class: that would allow for easier introspection and parameter changes on the fly, for example, target to any other.
As the
inbatch_parallelnow not supposed to be used on its own, we can refactor it with following goals in mind:_use_selfargsinit/postfunctions: the container withinitshould be passed directly fromBatch.apply_parallel, and the results should be post-processed in theBatch.apply_parallelas wellinbatch_parallela class: that would allow for easier introspection and parameter changes on the fly, for example,targetto any other.