I’m not sure which dimension refers to the “frame dimension”, but you could probably either use torch.stack or torch.cat to create the new stacked/concatenated tensor.
Hi @ptrblck . The x_train dataset is 3082092 frames. Each frame has 13 numbers (features).
The y_train is 3082092 digit (labels).
That is for each frame (1,13) there’s one label…
Now, feeding pne frame to the DNN is not going to work because there’s too small information in it. Instead,I would like to stack a sequence of 7 frames (of those 3082092). I hope that makes sense.