Sampling and Diffusion Model