code: def get_dataset():
      labels = np.random.randint(0, 10, size=10).astype(np.float)
      imgs = np.random.random(size=(10, 224, 224, 3))
  
      class Dataset:
          def __init__(self, data):
              self.data = data
  
          def numpy(self):
              return self.data[np.newaxis, :]
  
      for i in range(10):
          yield Dataset(imgs[i]), Dataset(labels[i])
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_dataset() and returns: self