View source on GitHub |
Function that enables multiprocessing in interactive mode.
tf_agents.system.default.multiprocessing_core.enable_interactive_mode(
extra_state_savers=None
)
This function accepts an extra_state_savers
argument;
users can provide a list of tf_agents.multiprocessing.StateSaver
instances,
where a StateSaver
tells multiprocessing how to store some global state
and how to restore it in the subprocess.
Args | |
---|---|
extra_state_savers
|
A list of StateSaver instances.
|