code: def __iter__(self):
      return iter(
          [
              self.indices[i]
              for i in np.random.permutation(len(self.indices))
          ]
      )
  
file_path: dgl/examples/mxnet/gin/dataloader.py
imports: import math
  import dgl
  import numpy
  from mxnet import nd
  from mxnet.gluon.data import DataLoader, Sampler
  from sklearn.model_selection import StratifiedKFold
label_desc: Use image node_id 2 for calling the SubsetRandomSampler obj's underlying member method code with example usage: obj.__iter__() and returns: iter