Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Remove now-unused size property from node class #1019

Closed

Conversation

ericlippert
Copy link
Contributor

Summary:
We need the tensor size of a node during graph rewriting, particularly when devectorizing models.

I wish to move computation of the tensor size of a node out of the node classes; this is not their concern, and the implementation needs to be nonrecursive. All this functionality is now moved to sizer.py and I can delete the dead implementations on the node classes.

Reviewed By: wtaha

Differential Revision: D30811484

Summary:
We need the tensor size of a node during graph rewriting, particularly when devectorizing models.

I wish to move computation of the tensor size of a node out of the node classes; this is not their concern, and the implementation needs to be nonrecursive. All this functionality is now moved to sizer.py and I can delete the dead implementations on the node classes.

Reviewed By: wtaha

Differential Revision: D30811484

fbshipit-source-id: 1db9d9040e72b5c7e5883f41b243894504caadc2
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D30811484

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 27, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants