[PyTorch] Remove always-empty string args to inferFunctionSchemaFromFunctor (#51307)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51307
Using -ftime-trace shows that this roughly halves time spent compile/optimizing this function in an optimized build of RegisterCPU.cpp (savings of about 1 second).
ghstack-source-id: 120697493
Test Plan: manual build with -ftime-trace as above; sketch of directions at https://fb.workplace.com/groups/894363187646754/permalink/1153321361750934/ , except that I extracted a compiler invocation for RegisterCPU.cpp by injecting a syntax error and running buck build with -v 3 so that I could rebuild and measure just the one file quickly.
Reviewed By: ezyang
Differential Revision: D26135978
fbshipit-source-id: 756499fbcc8d3b169bae5a463f63caecb79f7fcd