class_docstr: Generic dataset for images that can deal with PIL images, numpy arrays,
  or torch tensors.
code: def __init__(self, images, labels, transform=None):
      self.images = images
      self.labels = labels
      self.transform = transform
  
imports: import numpy
  import torch
  from torch.utils.data import Dataset
  from torchvision import datasets, transforms
  from typing import List, Union
  from pathlib import Path
  from PIL import Image
label_desc: Use image node_id 1 to create a new ImageDataset object from inherited base classes: Dataset with example: obj = ImageDataset(images, labels, transform)