Fixes a clang-cl compiler error related to attempt to export a symbol that doesn't have any external linkage, since its declared within a local anonymous namespace. Pull Request resolved: https://github.com/pytorch/pytorch/pull/146607 Approved by: https://github.com/jeffdaily