Diffusion Model In Python What Is A Function