viable/strict/1791923525: [Stable-ABI] Move acc_type into torch::headeronly. (#199203)
- PyTorch 近 90 天出现 2281 次
- PyTorch 近 90 天第 2251 次发版
- 上一次:同一天稍早 · viable/strict/1791919581: [MPS] Fix precision loss in complex sqrt (#200736)
发生了什么
Moves the accumulate-type traits into torch::headeronly . Needed for torchvision stable-ABI, which currently carries a local AccType helper that only covers the types it dispatches. Summary Introduces acc_type , acc_type_device , AccumulateType and AccumulateTypeDevice in the torch::headeronly namespace. BC-breaking note at::AccumulateTypeDevice can no longer be specialized inside namespace at Moves the trait defini…
摘要按规则整理自下方来源原文