'Yields:
Batched data by stacking each component on an extra 0th dimension.'

def get_data(self):

    holder = []
    for data in self.ds.get_data():
        holder.append(data)
        if (len(holder) == self.batch_size):
            (yield BatchData._aggregate_batch(holder, self.use_list))
            del holder[:]
    if (self.remainder and (len(holder) > 0)):
        (yield BatchData._aggregate_batch(holder, self.use_list))
