pytorch/torch/csrc/api
Yuanyuan Chen e2dc32f4ba Replace decltype(auto) with auto (#166537)
This PR replaces `decltype(auto)` with `auto` for C++ return type deduction and simplifies some templates.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166537
Approved by: https://github.com/Skylion007
2025-11-01 00:30:23 +00:00
..
include/torch Replace decltype(auto) with auto (#166537) 2025-11-01 00:30:23 +00:00
src Revert "C++ API handle optimizer defaults (#161825)" 2025-10-10 17:56:11 +00:00