If the splitting makes sense depends on your data and task.
You can have a look at this thread to generate batches of sequences of equal length. I use this all the time since it’s worry-free: neither padding nor packing is needed.
If the splitting makes sense depends on your data and task.
You can have a look at this thread to generate batches of sequences of equal length. I use this all the time since it’s worry-free: neither padding nor packing is needed.