Out version for sum (#52225)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52225
Supported out version for sum for SR
Test Plan:
buck test caffe2/benchmarks/static_runtime:static_runtime_cpptest
sum node runtime before out version (1000 time run): 3558us
sum node runtime after out version (1000 time run): 2173 us
Reviewed By: ajyu
Differential Revision: D26259744
fbshipit-source-id: bc6a1231353d79a96d45f1cdc676e78a92469d85