Check miniBatchSize is greater than 0