trunk/74ee2f44746e2868616296c50bed17b4e9b59376: [BE][Ez]: Enable CPP20 heterogenous lookups in STL collections (#195372)
- PyTorch: 293 events in the last 90 days
- PyTorch: 290th Release in the last 90 days
- Previous: earlier the same day · trunk/2053ec330a7e9bc250fb9dd22d7c203ddd109410: [MPS] Add complex64 support to linalg.lu_solve (#195369)
What happened
Uses some fancy CPP20 features to avoid allocating an std::string_view to an std::string just to check if a key exists. Sadly due to BC ABI compatibility, this feature is not default and requires feeding an transparent functor. I also created a TransparentStringView hasher for similar handling. Follow up to #195299 Pull Request resolved: #195372 Approved by: https://github.com/malfet
Summary assembled by rule from the sources below