Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
ec021923
Unverified
Commit
ec021923
authored
Mar 06, 2023
by
Patrick von Platen
Committed by
GitHub
Mar 06, 2023
Browse files
[Unet1d] correct docs (#2565)
parent
1598a579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/unet_1d.py
src/diffusers/models/unet_1d.py
+1
-1
No files found.
src/diffusers/models/unet_1d.py
View file @
ec021923
...
...
@@ -195,7 +195,7 @@ class UNet1DModel(ModelMixin, ConfigMixin):
)
->
Union
[
UNet1DOutput
,
Tuple
]:
r
"""
Args:
sample (`torch.FloatTensor`): `(batch_size,
sample_size, num_channels
)` noisy inputs tensor
sample (`torch.FloatTensor`): `(batch_size,
num_channels, sample_size
)` noisy inputs tensor
timestep (`torch.FloatTensor` or `float` or `int): (batch) timesteps
return_dict (`bool`, *optional*, defaults to `True`):
Whether or not to return a [`~models.unet_1d.UNet1DOutput`] instead of a plain tuple.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment