deepmol.parallelism package
Submodules
deepmol.parallelism.multiprocessing module
- class JoblibMultiprocessing(n_jobs: int = -1, process: callable | None = None)[source]
Bases:
MultiprocessingClass
Multiprocessing class using joblib.
- class MultiprocessingClass(n_jobs: int = -1, process: callable | None = None)[source]
Bases:
ABC
Base class for multiprocessing.
- property process
Returns the function to use for multiprocessing.