Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Support label_smoothing for cross_entropy in nestedtensor#452

Closed
jbschlosser wants to merge 1 commit intopytorch:fbsyncfrom
jbschlosser:export-D30730728-to-fbsync
Closed

Support label_smoothing for cross_entropy in nestedtensor#452
jbschlosser wants to merge 1 commit intopytorch:fbsyncfrom
jbschlosser:export-D30730728-to-fbsync

Conversation

@jbschlosser
Copy link

Summary:
Adds awareness of the new label_smoothing functionality in cross_entropy added in pytorch/pytorch#63122 to nestedtensor's implementation.

Fixes broken test: test.test_nested_tensor_functional.TestFunctional.

Differential Revision: D30730728

Summary:
Adds awareness of the new `label_smoothing` functionality in `cross_entropy` added in pytorch/pytorch#63122 to nestedtensor's implementation.

Fixes broken test: `test.test_nested_tensor_functional.TestFunctional`.

Differential Revision: D30730728

fbshipit-source-id: 34d907b76a1d2058cc7bc7d12c271cc3088a351b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D30730728

facebook-github-bot pushed a commit that referenced this pull request Sep 2, 2021
Summary:
Pull Request resolved: #452

Adds awareness of the new `label_smoothing` functionality in `cross_entropy` added in pytorch/pytorch#63122 to nestedtensor's implementation.

Fixes broken test: `test.test_nested_tensor_functional.TestFunctional`.

Reviewed By: cpuhrsch

Differential Revision: D30730728

fbshipit-source-id: 04f146d6de7f764f165059e4b5654d7f39142e38
@jbschlosser
Copy link
Author

Closing because this merged I guess

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants