Actually, I have many [64,256,16,16] features, so I want to append all features to one list and then use it for data_loader. (Maybe this approach is inefficient.)
whole_list = []
for step in data_loader:
   ...
   x # shape: [64,256,16,16]
   y # shape : [64]
   ...
   whole_list.append(x_list, labels) # It failed. How to append labels?

new_data_loader = torchdata.DataLoader(x_list, batch_size=...)