I need to write a dataloader that is customized and I want it to batch some examples that I clustered before using kmeans or any clustering method, together. I am just looking for ideas on how to approach this. Not sure if collate_fn helps here. I appreciate any help. Thanks.