Skip to content

Commit 9c28858

Browse files
authored
Merge pull request #182 from csl122/patch-1
add two missing param comments for UNetModel class
2 parents 2f7a05d + 084fc89 commit 9c28858

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • labml_nn/diffusion/stable_diffusion/model

labml_nn/diffusion/stable_diffusion/model/unet.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ def __init__(
4949
:param n_res_blocks: number of residual blocks at each level
5050
:param attention_levels: are the levels at which attention should be performed
5151
:param channel_multipliers: are the multiplicative factors for number of channels for each level
52-
:param n_heads: the number of attention heads in the transformers
52+
:param n_heads: is the number of attention heads in the transformers
53+
:param tf_layers: is the number of transformer layers in the transformers
54+
:param d_cond: is the size of the conditional embedding in the transformers
5355
"""
5456
super().__init__()
5557
self.channels = channels

0 commit comments

Comments
 (0)