ray.train.context.TrainContext.get_trial_name#
- TrainContext.get_trial_name() str [source]#
Trial name for the corresponding trial.
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_trial_name
is deprecated because the concept of aTrial
will soon be removed in Ray Train.Ray Train will no longer assume that it’s running within a Ray TuneTrial
in the future. See this issue for more context and migration options: ray-project/ray#49454