There are a few pieces here. DataLoader is used for loading data from somewhere else. Here is a dataloading tutorial 120 from the official website.
When you have the data in tensor form, you can send it through nn.Conv1d (docs here 58. Does that help at all?