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
TuneContextAPI reference to see available methods.- Returns:
The Ray Tune context.
- Return type:
PublicAPI (beta): This API is in beta and may change before becoming stable.