Creating tensors with the same shape would be the default approach and thus the default collate function will just work.
However, a custom collate function allows you to work with more flexible approaches.
Not providing this method would limit some use cases.