Hello,
I would like form batches with different tensors representing different modalities i.e. some images with NCHW ordering and some sentences represented as n_sentences, n_max_length . The sentences at some point will be looked up from an embedding layer. Both tensors will be used during the forward pass as different entry points.
The question is can I use DataLoader with a custom collate_fn for this or a DataLoader is solely for a single source of information?