code: def my_trainable(config):
      # NOTE: Introduce the sleep again for the time-based unit-tests.
      i = 1
      while True:
          time.sleep(1)
          # Do some training, and report some metrics for demonstration...
          train.report({"mean_accuracy": min(i / 10, 1.0)})
          i += 1
  
imports: from ray import train
  from ray import train, tune
  from ray import train, tune
  from ray import train, tune
  from ray.tune import Stopper
  from ray import train, tune
  import time
  from ray import train, tune
  from ray.tune.schedulers import AsyncHyperBandScheduler
  from ray import train, tune
  from ray import tune
label_desc: Use image node_id 5 for calling a global function with example usage: my_trainable(config) without return types