Check miniBatchSize is greater than 0
bugfix
Double to Long
bugfix
bugfix