code: def test_image_classification():
      from gluoncv.auto.tasks import ImageClassification
  
      task = ImageClassification(
          {
              "model": "resnet18_v1",
              "num_trials": 1,
              "epochs": 1,
              "batch_size": 8,
          }
      )
      classifier = task.fit(IMAGE_CLASS_DATASET)
      assert task.fit_summary().get("valid_acc", 0) > 0
      test_result = classifier.predict(IMAGE_CLASS_TEST)
  
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 1 for calling a global function with example usage: test_image_classification() without return types