For HRE encoder, there are M image vectors as h v candidates, while the number is M × K for the HCIAE encoder; K is the number of "pixels" in the final CNN feature-map.
it is impossible to use all the generated samples in AMFE.