Skip to content

polish the label_smooth#17138

Merged
heavengate merged 2 commits intoPaddlePaddle:developfrom
tink2123:label_smooth
Apr 30, 2019
Merged

polish the label_smooth#17138
heavengate merged 2 commits intoPaddlePaddle:developfrom
tink2123:label_smooth

Conversation

@tink2123
Copy link
Contributor

@tink2123 tink2123 commented Apr 28, 2019

polish the label_smooth

@heavengate heavengate self-requested a review April 28, 2019 08:59

T label_pos = 1.0;
T label_neg = 0.0;
T smooth_weight = 1.0 / static_cast<T>(class_num);
Copy link
Contributor

Choose a reason for hiding this comment

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

这一行不需要,下同

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

test=develop
Copy link
Contributor

@heavengate heavengate left a comment

Choose a reason for hiding this comment

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

LGTM

@heavengate heavengate merged commit bc48453 into PaddlePaddle:develop Apr 30, 2019
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