r to use the “dynamic thresholding” method (introduced by Imagen, https://arxiv.org/abs/2205.11487).
Note that the thresholding method is unsuitable for latent-space diffusion models (such as
stable-diffusion).


dynamic_thresholding_ratio (float, default 0.995) —
the ratio for the dynamic thresholding method. Default is 0.995, the same as Imagen
(https://arxiv.org/abs/2205.11487). Valid only when thresholding=True.


sample_max_value (float, d