Skip to content

Rename torch.namedtensor -> torch._namedtensor_internals#26349

Closed
zou3519 wants to merge 2 commits intogh/zou3519/172/basefrom
gh/zou3519/172/head
Closed

Rename torch.namedtensor -> torch._namedtensor_internals#26349
zou3519 wants to merge 2 commits intogh/zou3519/172/basefrom
gh/zou3519/172/head

Conversation

@zou3519
Copy link
Copy Markdown
Contributor

@zou3519 zou3519 commented Sep 17, 2019

Stack from ghstack:

The directory holds a lot of private helper functions that help
implement named tensor functionality. Instead of naming each helper
function with a leading underscore, I change the name of the import to
_namedtensor_internals to signal it should not be used directly.

Test Plan:

  • [namedtensor ci]

Differential Revision: D17424178

The directory holds a lot of private helper functions that help
implement named tensor functionality. Instead of naming each helper
function with a leading underscore, I change the name of the import to
`_namedtensor_internals` to signal it should not be used directly.

Test Plan:
- [namedtensor ci]
The directory holds a lot of private helper functions that help
implement named tensor functionality. Instead of naming each helper
function with a leading underscore, I change the name of the import to
`_namedtensor_internals` to signal it should not be used directly.

Test Plan:
- [namedtensor ci]

Differential Revision: [D17424178](https://our.internmc.facebook.com/intern/diff/D17424178)
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@zou3519 merged this pull request in 277d442.

@facebook-github-bot facebook-github-bot deleted the gh/zou3519/172/head branch October 28, 2019 22:24
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Pull Request resolved: pytorch#26349

The directory holds a lot of private helper functions that help
implement named tensor functionality. Instead of naming each helper
function with a leading underscore, I change the name of the import to
`_namedtensor_internals` to signal it should not be used directly.

Test Plan: - [namedtensor ci]

Differential Revision: D17424178

Pulled By: zou3519

fbshipit-source-id: 8f7b74346765759303480e581038a661021acf53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged module: multiprocessing Related to torch.multiprocessing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants