Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Remove unnecessary calls to the TensorShape initializer #249

Merged
merged 1 commit into from
Jun 16, 2019

Conversation

Shashi456
Copy link
Contributor

Refer to this discussion.

@rxwei rxwei changed the title Removing tensorshape from extensions Remove unnecessary calls to the TensorShape initializer Jun 16, 2019
@Shashi456 Shashi456 mentioned this pull request Jun 16, 2019
Copy link
Contributor

@rxwei rxwei left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up!

As a suggestion for clarity improvement, the PR message "Removing tensorshape from extensions" is an unclear description that may cause a lot of confusion to people who were not in the PR conversation we had in the other thread. This PR is not removing all TensorShapes from extensions, but removing the unnecessary calls to the TensorShape initializer (a.k.a. init(_:)) from certain places where there is a contextual type. In the interest of preventing confusion for other reviewers and contributors, I changed your PR description to "Remove unnecessary calls to the TensorShape initializer". Going forward, if we strive for clear PR descriptions and commit messages, this will help make code reviews be quicker and more effective.

@Shashi456
Copy link
Contributor Author

@rxwei alright, I'll take care of the same. I'm not extremely good at PR naming, so I always make sure that I link to any sort of discussion the PR is based on. I'll try harder from next time.

@rxwei rxwei merged commit cf50393 into tensorflow:master Jun 16, 2019
@Shashi456 Shashi456 deleted the shape branch August 29, 2019 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants