ray.train.context.TrainContext.get_metadata#
- TrainContext.get_metadata() Dict[str, Any] [source]#
User metadata dict passed to the Trainer constructor.
PublicAPI (beta): This API is in beta and may change before becoming stable.
Warning
DEPRECATED: This API is deprecated and may be removed in future Ray releases.
get_metadata
was an experimental API that accessed the metadata passed to<Framework>Trainer(metadata=...)
. This API can be replaced by passing the metadata directly to the training function (e.g., viatrain_loop_config
).