class_docstr: A task definition class
  Args:
      name (str): the name of the task
      processor (DataProcessor): a DataProcessor class containing a dataset loader
      data_dir (str): path to the data source
      task_type (str): the task type (classification/regression/tagging)
code: def __init__(
      self,
      name: str,
      processor: DataProcessor,
      data_dir: str,
      task_type: str,
  ):
      self.name = name
      self.processor = processor
      self.data_dir = data_dir
      self.task_type = task_type
  
imports: from __future__ import absolute_import, division, print_function
  import csv
  import os
  import random
  import sys
  from abc import ABC
  from io import open
  from typing import List, Tuple
label_desc: Use image node_id 1 to create a new Task object  with example: obj = Task(name, processor, data_dir, task_type)