class_docstr: CIFAR-10 Data Set
code: def _generate_examples(self, files, split):
      for file in files:
          with open(
              os.path.join(self.config.data_dir, file), "rb"
          ) as fo:
              dict = pickle.load(fo, encoding="bytes")
  
              labels = dict[b"labels"]
              images = dict[b"data"]
  
              for idx, _ in enumerate(images):
                  img_reshaped = np.transpose(
                      np.reshape(images[idx], (3, 32, 32)), (1, 2, 0)
                  )
  
                  yield f"{file}_{idx}", {
                      "img": img_reshaped,
                      "label": labels[idx],
                  }
  
file_path: adapters/tests/fixtures/samples/cifar10/cifar10.py
imports: import os
  import pickle
  import datasets
  import numpy
label_desc: Use image node_id 3 for calling the Cifar10 obj's underlying member method code with example usage: obj._generate_examples(files, split) without return types