If I understand correctly that batch size is the number of samples used in the training of a NN before the gradient gets updated, then why do we need a specified batch_size for the validation sample?
The problem that led me to have this question is this: If I give a large batch_size, then the first couple of validation events are used repeatedly, instead of the validation iterating over the whole validation sample.
My question is about Keras and Sequential, but there is a chance that it applies more generally.