delu.collate#
- delu.collate(iterable)[source]#
[DEPRECATED | Instead, use
torch.utils.data.default_collate
] Almost an alias fortorch.utils.data.dataloader.default_collate
. Namely, the input is allowed to be any kind of iterable, not only a list. Firstly, if it is not a list, it is transformed to a list. Then, the list is passed to the original function and the result is returned as is.