def METHOD_NAME(self,):
    # Filters
    trainer_id = int(os.getenv("PADDLE_TRAINER_ID", "0"))
    trainer_num = int(os.getenv("PADDLE_TRAINERS_NUM", "1"))
    count_line = 0
    np.random.shuffle(self.train_idx)
    for idx in self.train_idx:
        count_line += 1
        if count_line % trainer_num == trainer_id:
            yield idx