← 返回事件
持续讨论AI发版

viable/strict/1792046569: [Stable-ABI] Add torch::stable::from_file. (#198263)

发生了什么

Adds torch::stable::from_file to the stable ABI. Needed for torchvision stable-ABI, which currently carries a local stable_from_file helper for image decoding. Summary Introduces torch::stable::from_file and it returns a 1-D tensor backed by a memory-map of the file. Functional differences between the ATen and stable signatures include filename being const std::string& rather than std::string_view . Adds my_from_fil…

摘要按规则整理自下方来源原文

为什么在扩散

来源