ray.train.trainer.BaseTrainer.as_trainable# BaseTrainer.as_trainable() → Type[Trainable][源代码]# 将自身转换为 tune.Trainable 类。