Concater
- class torchdata.datapipes.map.Concater(*datapipes: MapDataPipe)
Concatenate multiple Map DataPipes (functional name:
concat
). The new index of is the cumulative sum of source DataPipes. For example, if there are 2 source DataPipes both with length 5, index 0 to 4 of the resulting ConcatMapDataPipe would refer to elements of the first DataPipe, and 5 to 9 would refer to elements of the second DataPipe.- Parameters
datapipes – Map DataPipes being concatenated