viable/strict/1788121496: [BE][Ez]: Removes double probes in STL collections (#195299)
- PyTorch 近 90 天出现 278 次
- PyTorch 近 90 天第 275 次发版
- 上一次:同一天稍早 · viable/strict/1788112218: [MPS] Add special_laguerre_polynomial_l (#195225)
发生了什么
Finds the common contains and then at STL collection pattern and replaces them using the find() API which both checks if the object exists in the collection and returns its reference. This removes the need for looking up the key twice. Use Codex Luna to automatically find all of these and then I manually reviewed all of them. Test Plan: NFC all tests should pass Pull Request resolved: #195299 Approved by: https://gi…
摘要按规则整理自下方来源原文