When you flatten using reshape, is it correct to assume that the N samples are grouped together during training?  That is, samples from one set of N don’t get mixed with samples from another set of N.  How does one ascertain this?  I suppose I may need to set shuffle=False during training to keep the N samples individually grouped after flattening, but that seems odd to do during training as shuffle is usually True during training and False during test.