I have a dataset of N audio frames of size (N , 13), and for the task of phoneme recognition
train_data = torch.hstack((train_feat, train_labels))
train_loader = torch.utils.data.DataLoader(train_data, batch_size= 128, shuffle=True)

print(train_data.shape)
torch.Size([3082092, 14])

How can I stack 7 frames each time to feed to the DNN?