code: def __getitem__(self, idx):
      batch_start = idx * self._batch_size
      batch_end = min((idx + 1) * self._batch_size, self._max_size)
      dataX = self._x[self._index[batch_start:batch_end]]
      return dataX, dataX
  
file_path: AIX360/aix360/algorithms/nncontrastive/utils.py
imports: import math
  import numpy
  from tensorflow.keras.utils import Sequence
  from sklearn.model_selection import StratifiedShuffleSplit
label_desc: Use image node_id 4 for calling the AESampler obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: dataX,  dataX