Doing what you did above creates tuples. Does this not mean we will have to convert into tensors again ? I tried doing it but then torch throws error when I pass a batch created above saying that tuple object has no attribute “dim”.