fix docs typo

This commit is contained in:
Varuna Jayasiri
2022-09-16 10:01:22 +05:30
parent 4fbd0716d0
commit d8f4e5d8bc
4 changed files with 14 additions and 13 deletions

View File

@ -67,7 +67,7 @@ class DDPMSampler(DiffusionSampler):
# $\sqrt{\bar\alpha}$
self.sqrt_alpha_bar = alpha_bar ** .5
# $\sqrt{1 - \bar{alpha}}$
# $\sqrt{1 - \bar\alpha}$
self.sqrt_1m_alpha_bar = alpha_bar ** .5
# $\frac{1}{\sqrt{\bar\alpha_t}}$
self.sqrt_recip_alpha_bar = alpha_bar ** -.5