ray.tune.Trainable.trial_name#

property Trainable.trial_name#

Trial name for the corresponding trial of this Trainable.

This is not set if not using Tune.

from ray.tune import Trainable

name = Trainable().trial_name