code: def __init__(
      self,
      x,
      y,
      batch_size: int = 512,
      max_size: int = 10000,
      validation_f: float = 0.1,
  ):
      super(JointAESampler, self).__init__(
          x, batch_size, max_size, validation_f
      )
      self._y = y
      self._counter = 0
      self._n_splits = min(x.shape[0] // max_size, 10)
      self._splits = []
  
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 1 to create a new JointAESampler object from inherited base classes: AESampler with example: obj = JointAESampler(x, y, batch_size, max_size, validation_f)