code: def __init__(self, dataset: Dataset, key1: str, key2: str):
      self.dataset = dataset
      self.key1 = key1
      self.key2 = key2
  
imports: import numpy
  import torch
  from torch.utils.data import Dataset, IterableDataset
label_desc: Use image node_id 1 to create a new KeyPairDataset object from inherited base classes: Dataset with example: obj = KeyPairDataset(dataset, key1, key2)