ray.tune.Experiment.get_trainable_name#

classmethod Experiment.get_trainable_name(run_object: Union[str, Callable, Type])[source]#

Get Trainable name.

Parameters

run_object – Trainable to run. If string, assumes it is an ID and does not modify it. Otherwise, returns a string corresponding to the run_object name.

Returns

A string representing the trainable identifier.

Raises

TuneError – if run_object passed in is invalid.