ray.tune.get_context#

ray.tune.get_context() TuneContext#

Get or create a singleton Ray Tune context.

The context is only available in a tune function passed to the ray.tune.Tuner.

See the TuneContext API reference to see available methods.

PublicAPI (beta): This API is in beta and may change before becoming stable.