-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HacktoberFest] Add missing docstrings to diffusers/models #5248
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks!
src/diffusers/models/controlnet.py
Outdated
Conditional embeddings for timestep. If provided, the embeddings will be summed with the samples | ||
passed through the `self.time_embedding` layer to obtain the timestep embeddings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conditional embeddings for timestep. If provided, the embeddings will be summed with the samples | |
passed through the `self.time_embedding` layer to obtain the timestep embeddings. | |
Additional conditional embeddings for timestep. If provided, the embeddings will be summed with the timestep embedding | |
passed through the `self.time_embedding` layer to obtain the timestep embeddings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the suggestion.
@a-r-r-o-w don't forget |
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
What does this PR do?
Adds missing docstrings as mentioned in the linked issue. Also adds docstrings for similar missing cases in other files not mentioned in the original issue.
Fixes #5228
cc: @patrickvonplaten @yiyixuxu