tf_agents.system.multiprocessing.get_context

Get a context: an object with the same API as multiprocessing module.

method (Optional.) The method name; a Google-safe default is provided.

A multiprocessing context.

RuntimeError If main() was not executed via handle_main().