def set_dataloader_mp_context(self, dataloader_mp_context: Optional[str]):
    "Set the multiprocessing context used by the dataloader.\n\n        The context can be either 'spawn', 'fork', 'forkserver' or None (uses the\n        default context). See\n        https://docs.python.org/3/library/multiprocessing.html#multiprocessing.get_context\n        for more details."
    self.dataloader_mp_context = dataloader_mp_context
    return self
Set the multiprocessing context used by the dataloader.

The context can be either 'spawn', 'fork', 'forkserver' or None (uses the
default context). See
https://docs.python.org/3/library/multiprocessing.html#multiprocessing.get_context
for more details.
def set_dataloader_mp_context(self, dataloader_mp_context: Optional[str]):
    "Set the multiprocessing context used by the dataloader.\n\n        The context can be either 'spawn', 'fork', 'forkserver' or None (uses the\n        default context). See\n        https://docs.python.org/3/library/multiprocessing.html#multiprocessing.get_context\n        for more details."
    self.dataloader_mp_context = dataloader_mp_context
    return self