ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

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().