Skip to content

Commit

Permalink
Add some doc comments to classes
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterChief95 committed Nov 21, 2024
1 parent e180883 commit 6a5528c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hidiffusion/raunet.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class HDUpsample(ORIG_UPSAMPLE):
Returns:
torch.Tensor: Upsampled tensor after processing through interpolation and convolution
"""

def forward(self, x, output_shape=None, transformer_options=None):
if self.dims == 3 or not self.use_conv or not HDCONFIG.check(transformer_options):
return super().forward(x, output_shape=output_shape)
Expand Down

0 comments on commit 6a5528c

Please sign in to comment.