trial_id#

property Algorithm.trial_id#

Trial ID for the corresponding trial of this Trainable.

This is not set if not using Tune.

Examples

>>> from ray.tune import Trainable
>>> Trainable().trial_id
'default'