Skip to content

Refactor inbatch_parallel #672

Open
Open
@SergeyTsimfer

Description

@SergeyTsimfer

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions