KEMBAR78
Fix MultiLabelMarginLoss docs by zou3519 · Pull Request #3836 · pytorch/pytorch · GitHub
Skip to content

Conversation

@zou3519
Copy link
Contributor

@zou3519 zou3519 commented Nov 22, 2017

Fixes #3796.

The following line hasn't been changed from the (lua) torch days. In pytorch tensors are now zero-indexed instead of one-indexed. I've verified that in the source code, negative values target values are ignored.

@soumith soumith merged commit b404cfe into pytorch:master Nov 22, 2017
@zou3519 zou3519 deleted the fix-docs2 branch January 3, 2018 19:59
@soumith soumith added the 0.3.1 label Feb 4, 2018
soumith pushed a commit that referenced this pull request Feb 7, 2018
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.

2 participants