Modeling Temporal Data as Continuous Functions with Process Diffusion