code: def get_labels(self, batch_indices):
      return self.Y[batch_indices]
  
imports: from abc import ABC, abstractmethod
  from functools import partial
  import itertools
  import random
  import math
  import numpy
  from tensorflow.keras.utils import Sequence
  from scipy.sparse import issparse
  from ..data import get_uint_ctype
label_desc: Use image node_id 2 for calling the SupervisedTripletGenerator obj's underlying member method code with example usage: obj.get_labels(batch_indices) and returns: self