Skip to content

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

Closed
jamesr66a wants to merge 1 commit intogh/jamesr66a/333/basefrom
gh/jamesr66a/333/head
Closed

[FX] Rename Node._uses and refactor Node.all_input_nodes#49415
jamesr66a wants to merge 1 commit intogh/jamesr66a/333/basefrom
gh/jamesr66a/333/head

Conversation

@jamesr66a
Copy link
Copy Markdown
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
Copy Markdown
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: ce00e71
Pull Request resolved: #49415
@facebook-github-bot
Copy link
Copy Markdown
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.

3 participants