code: def avg_time(self):
      if len(self.prev_times) > 0:
          return sum(self.prev_times) / len(self.prev_times)
      return float("-inf")
  
file_path: autogluon/core/src/autogluon/core/hpo/ray_tune_scheduler.py
imports: import time
  from ray.tune.schedulers import FIFOScheduler
label_desc: Use image node_id 4 for calling the AvgEarlyStopFIFOScheduler obj's underlying member method code with example usage: obj.avg_time() and returns: float, unknown