pytorch
a332583c - Quick fixes for named tensor for windows (#25728)

Commit
5 years ago
Quick fixes for named tensor for windows (#25728) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/25728 Two quick fixes: 1) windows doesn't seem to like std::locale, so that got removed. 2) at::empty should call the non-named-tensor overload if the tensor doesn't have names to avoid re-dispatching. In the long term we'll merge the at::empty names and no-names overloads. Test Plan - [namedtensor ci], but the windows thing isn't easy to test without running BUILD_NAMEDTENSOR=1 on windows. Test Plan: Imported from OSS Differential Revision: D17212059 Pulled By: zou3519 fbshipit-source-id: 58da5ab96d53c4844237ca10fa1b2de4b1052a0c
Author
Parents
Loading