(self, idx=None)
return [self._samples[i] for i in idx]
Returns N sample objects.
Returns N sample objects.
Returns N sample objects .
def get_samples(self, idx=None):
        """ Returns N sample objects. """
        if idx is None:
            idx = range(len(self._samples))
        return [self._samples[i] for i in idx]
def get_samples ( self , idx = None ) : if idx is None : idx = range ( len ( self . _samples ) ) return [ self . _samples [ i ] for i in idx ]