class_docstr: Base class for a classification task.
  
  Parameters
  ----------
  num_classes : int
      Number of classes for the classification task.
code: def __init__(
      self, index, num_classes, transform=None, target_transform=None
  ):
      super(Task, self).__init__(
          index, transform=transform, target_transform=target_transform
      )
      self.num_classes = num_classes
  
imports: from torch.utils.data import ConcatDataset, Subset
  from torch.utils.data import Dataset
  from torchvision.transforms import Compose
label_desc: Use image node_id 1 to create a new Task object from inherited base classes: Dataset with example: obj = Task(index, num_classes, transform, target_transform)