trunk/74ee2f44746e2868616296c50bed17b4e9b59376: [BE][Ez]: Enable CPP20 heterogenous lookups in STL collections (#195372)
- PyTorch 近 90 天出现 294 次
- PyTorch 近 90 天第 291 次发版
- 上一次:同一天稍早 · trunk/2053ec330a7e9bc250fb9dd22d7c203ddd109410: [MPS] Add complex64 support to linalg.lu_solve (#195369)
发生了什么
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
摘要按规则整理自下方来源原文