I’m trying to prepare the input_data for my project but my tensors are of different sizes, for example: [1, 1256], [1, 6497], [1, 58672], etc. I want to have them all of the size [1, 58672]. Can you please tell me how can I do it?
Hi ptrblck, thank you for your answer. I’m actually trying to create a Dataset for my audio project but unfortunately I’m still a beginner and I have to learn a lot. I have tried this site: https://pytorch.org/tutorials/beginner/data_loading_tutorial.html but it’s still not working. Can you please suggest me a website where I can learn something more, for example F.pad and torch.cat?