code: def test_time_out_image_classification():
      time_limit = 15
      from gluoncv.auto.tasks import ImageClassification
  
      task = ImageClassification(
          {"num_trials": 1, "epochs": 10, "batch_size": 8}
      )
  
      tic = time.time()
      classifier = task.fit(IMAGE_CLASS_DATASET, time_limit=time_limit)
      # check time_limit with a little bit overhead
      assert (time.time() - tic) < time_limit + 180
  
file_path: gluon-cv/tests/auto/test_auto_tasks.py
imports: from gluoncv.auto.tasks import ImageClassification
  from gluoncv.auto.tasks import ObjectDetection
  import autogluon.core
  import time
  from nose.tools import nottest
  import unittest
label_desc: Use image node_id 5 for calling a global function with example usage: test_time_out_image_classification() without return types