Cherrypick smooth l1 loss fixes (#45759)
* some documentation and style fixes to smooth_l1_loss (#45587)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45587
Test Plan: Imported from OSS
Reviewed By: mrshenli
Differential Revision: D24024313
Pulled By: bdhirsh
fbshipit-source-id: c50efb2934d7b9d3b090e92678319cde42c0df45
* remove beta defaulting in smooth_l1_loss_backward. added to the bc whitelist (#45588)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45588
Test Plan: Imported from OSS
Reviewed By: mrshenli
Differential Revision: D24024312
Pulled By: bdhirsh
fbshipit-source-id: 7246e5da741fbc5641deecaf057ae9a6e44e8c34
* remove beta defaulting in smooth_l1_loss_backward. added to the bc whitelist (#45588)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45588
Test Plan: Imported from OSS
Reviewed By: mrshenli
Differential Revision: D24024312
Pulled By: bdhirsh
fbshipit-source-id: 7246e5da741fbc5641deecaf057ae9a6e44e8c34
Co-authored-by: Nikita Shulga <nshulga@fb.com>