Skip to content

Conversation

@bhushan23
Copy link
Contributor

applySelect does modify the tensor and removes the top most dimension which makes it complicated to track just using dim and need to use another parameter as real_dim to signify original dimension
fixes #16192

@bhushan23
Copy link
Contributor Author

@colesbury could you please review?

@colesbury
Copy link
Member

This looks right to me, but please add a test case

Adding test case for out of bound dimension
@bhushan23
Copy link
Contributor Author

@soumith / @colesbury can you merge the changes?

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@gchanan has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

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.

Dimension error always says dimension 0

5 participants