Skip to content
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

[FX] Rename Node._uses and refactor Node.all_input_nodes #49415

Closed
wants to merge 1 commit into from

Conversation

jamesr66a
Copy link
Collaborator

@jamesr66a jamesr66a commented Dec 15, 2020

Stack from ghstack:

uses and users were pretty close to each other and easy to get confused. We also already had a property named all_input_nodes that seemed more clear. This PR:

  • Renames Node._uses to Node._input_nodes
  • Refactors Node.all_input_nodes to directly return _input_nodes, potentially speeding stuff up

Differential Revision: D25565341

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Dec 15, 2020

💊 CI failures summary and remediations

As of commit 12afc4a (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

This comment has been revised 2 times.

jamesr66a pushed a commit that referenced this pull request Dec 15, 2020
ghstack-source-id: ce00e7162ad659f85875c9fa1791ec8882fb6218
Pull Request resolved: #49415
@facebook-github-bot
Copy link
Contributor

@jamesr66a merged this pull request in e9d7d37.

@facebook-github-bot facebook-github-bot deleted the gh/jamesr66a/333/head branch December 19, 2020 15:18
hwangdeyu pushed a commit to hwangdeyu/pytorch that referenced this pull request Jan 6, 2021
Summary: Pull Request resolved: pytorch#49415

Test Plan: Imported from OSS

Reviewed By: zdevito

Differential Revision: D25565341

Pulled By: jamesr66a

fbshipit-source-id: 2290ab62572632788809ba16319578bf0c0260ee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants