ray.tune.schedulers.ResourceChangingScheduler.set_trial_resources#

ResourceChangingScheduler.set_trial_resources(trial: Trial, new_resources: Dict | PlacementGroupFactory) bool[源代码]#

如果设置了 new_resources,则返回 True。