Skip to content

Changed variable name from "h" to "hidden_states" - #285

Merged
patil-suraj merged 2 commits into
huggingface:mainfrom
JC-swEng:patch-1
Sep 1, 2022
Merged

patil-suraj merged 2 commits into
huggingface:mainfrom
JC-swEng:patch-1

Conversation

@JC-swEng

Copy link
Copy Markdown
Contributor

Per issue #198 , changed variable name from "h" to "hidden_states" in the forward function only. I am happy to change any other variable names, please advise recommended new names.

Per issue huggingface#198 , changed variable name from "h" to "hidden_states" in the forward function only. I am happy to change any other variable names, please advise recommended new names.
@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Aug 31, 2022 •

Copy link
Copy Markdown

The documentation is not available anymore as the PR was closed or merged.

@patrickvonplaten patrickvonplaten left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @JC-swEng

Comment thread src/diffusers/models/resnet.py Resolved
Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

@patil-suraj patil-suraj left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

@patil-suraj
patil-suraj merged commit 1f196a0 into huggingface:main Sep 1, 2022
natolambert pushed a commit that referenced this pull request Sep 7, 2022
* Changed variable name from "h" to "hidden_states"

Per issue #198 , changed variable name from "h" to "hidden_states" in the forward function only. I am happy to change any other variable names, please advise recommended new names.

* Update src/diffusers/models/resnet.py

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
PhaneeshB pushed a commit to nod-ai/diffusers that referenced this pull request Mar 1, 2023
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* Changed variable name from "h" to "hidden_states"

Per issue huggingface#198 , changed variable name from "h" to "hidden_states" in the forward function only. I am happy to change any other variable names, please advise recommended new names.

* Update src/diffusers/models/resnet.py

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>

Co-authored-by: Patrick von Platen <patrick.v.platen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants