noop.py 238 B

1234567891011
  1. from ray.tune.stopper.stopper import Stopper
  2. from ray.util.annotations import PublicAPI
  3. @PublicAPI
  4. class NoopStopper(Stopper):
  5. def __call__(self, trial_id, result):
  6. return False
  7. def stop_all(self):
  8. return False