Creating a diffusion neural network model with candle crates