Fourier-flow model generating Feynman paths