no, it is fine, with multi-dimensional arrays the negative effect is greatly dimished, it is also mostly about features/channels dimension. still, it may be marginally better to choose batch sizes that are divisible by 2,4,8,16,32.