add two missing param comments for UNetModel class

comments for tf_layers and d_cond were missing, added.
This commit is contained in:
Shiliang Chen
2023-05-08 16:50:28 +01:00
committed by GitHub
parent b05c9e0c57
commit 084fc89d63

View File

@ -49,7 +49,9 @@ class UNetModel(nn.Module):
:param n_res_blocks: number of residual blocks at each level
:param attention_levels: are the levels at which attention should be performed
:param channel_multipliers: are the multiplicative factors for number of channels for each level
:param n_heads: the number of attention heads in the transformers
:param n_heads: is the number of attention heads in the transformers
:param tf_layers: is the number of transformer layers in the transformers
:param d_cond: is the size of the conditional embedding in the transformers
"""
super().__init__()
self.channels = channels