code: def step(self):  # This is called iteratively.
      score = objective(self.x, self.a, self.b)
      self.x += 1
      return {"score": score}
  
file_path: ray/doc/source/tune/doc_code/trainable.py
imports: from ray import train, tune
  from ray import train, tune
  from ray import train, tune
label_desc: Use image node_id 2 for calling the Trainable obj's underlying member method code with example usage: obj.step() and returns: dict