Skip to content

Conversation

@CarMiranda
Copy link
Contributor

In accordance with #25883, I added the SoftMarginLoss module and soft_margin_loss functional.

Copy link
Contributor

@yf225 yf225 left a comment

Choose a reason for hiding this comment

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

Thanks so much for the fantastic work @CarMiranda! I left some comments.

Copy link
Contributor

@yf225 yf225 left a comment

Choose a reason for hiding this comment

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

@CarMiranda Thanks a lot for the awesome work! I will merge it after CI passes :D

@yf225
Copy link
Contributor

yf225 commented Oct 15, 2019

@pytorchbot rebase this please

@yf225
Copy link
Contributor

yf225 commented Oct 15, 2019

TODO: wait for #27422 to land first, and then use at::Reduction in this PR.

@yf225
Copy link
Contributor

yf225 commented Oct 15, 2019

@pytorchbot rebase this please

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.

@yf225 is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@yf225 merged this pull request in 9540f6c.

thiagocrepaldi pushed a commit to thiagocrepaldi/pytorch that referenced this pull request Feb 4, 2020
Summary:
In accordance with pytorch#25883, I added the `SoftMarginLoss` module and `soft_margin_loss` functional.
Pull Request resolved: pytorch#27660

Differential Revision: D17958325

Pulled By: yf225

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

Labels

Merged module: cpp Related to C++ API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants