code: def __getitem__(
      self, idx: int
  ) -> Union[Tuple[Indexable, ...], Indexable]:
      istart, istop = idx * self.batch_size, (idx + 1) * self.batch_size
      output = tuple(
          indexable[istart:istop] for indexable in self.indexables
      )
      return output if len(output) > 1 else output[0]
  
file_path: alibi-detect/alibi_detect/utils/tensorflow/data.py
imports: import numpy
  import tensorflow
  from typing import Tuple, Union
label_desc: Use image node_id 2 for calling the TFDataset obj's underlying member method code with example usage: obj.__getitem__(idx) and returns: unknown