Fixed sequence length trim for better performance
Fixed sequence length trim for better performance

The sequence length trimming is now performed before data flipping/cropping, so that these operations now have to process on less images.

bsautermeister/tensorlight,bsautermeister/tensorlight