Closed jbschlosser closed 3 years ago
Adds awareness of the new label_smoothing functionality in cross_entropy added in https://github.com/pytorch/pytorch/pull/63122 to nestedtensor's implementation.
label_smoothing
cross_entropy
Fixes broken test: test.test_nested_tensor_functional.TestFunctional.
test.test_nested_tensor_functional.TestFunctional
Closing and reopening diff from the FB side
Adds awareness of the new
label_smoothing
functionality incross_entropy
added in https://github.com/pytorch/pytorch/pull/63122 to nestedtensor's implementation.Fixes broken test:
test.test_nested_tensor_functional.TestFunctional
.