class_docstr: MNIST Dataset.
class_docstr_tok: ["MNIST","Dataset","."]
code: def __getitem__(self, index):
      x = self.images[index]
      y = self.labels[index]
  
      if self.transform:
          x = self.transform(x)
  
      return x, y
  
file_path: cleverhans/tutorials/torch/datasets.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import array
  import gzip
  import os
  from os import path
  import struct
  from six.moves.urllib.request import urlretrieve
  import numpy
  import torch
label_desc: Use image node_id 2 for calling the MNISTDataset obj's underlying member method code with example usage: obj.__getitem__(index) and returns: x,  y