Skip to content

Fix issues with ATenOp handling methods where self is not the first arg#12353

Closed
jamesr66a wants to merge 3 commits intopytorch:masterfrom
jamesr66a:delet
Closed

Fix issues with ATenOp handling methods where self is not the first arg#12353
jamesr66a wants to merge 3 commits intopytorch:masterfrom
jamesr66a:delet

Conversation

@jamesr66a
Copy link
Collaborator

@jamesr66a jamesr66a commented Oct 5, 2018

ATenOp was handling torch.where incorrectly. Whereas the torch.where overload (and aten:: function) had arguments in the order Tensor condition, Tensor self, Tensor other, ATenOp was emitting code that assumed that self was the 0th argument, and thus was trying to interpret the wrong value as the condition.

@jamesr66a jamesr66a force-pushed the delet branch 6 times, most recently from b826a0a to 4ac670f Compare October 5, 2018 04:23
@jamesr66a jamesr66a changed the title [testing] delet this; Fix issues with ATenOp handling methods where self is not the first arg Oct 5, 2018
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.

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

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.

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

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.

jamesr66a is landing 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants