[ONNX] Update Reducesum operator for opset 13 (#50532) (#50907)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/50907
* udpate symbolic for squeeze/unsqueeze
* update c++ unsqueeze/squeeze creation
* clang format
* enable tests
* clang format
* remove prints
* remove magic number
* add helper function
* fix build issue
* update opset9 symbolic with helper function
* fix utility test
* fix prim_fallthrough opset skip
* enable reducesum opset 13
* enable embedding_bag which contain reducesum op
* add ReduceSum helper
* remove block_listed_operators
* remove local test code
* remove embedding_bag() in opset13 file
* remove unuse import
Test Plan: Imported from OSS
Reviewed By: pbelevich
Differential Revision: D26050888
Pulled By: SplitInfinity
fbshipit-source-id: 88307af6a7880abf94eac126ec1638e962de8c1f
Co-authored-by: BowenBao <bowbao@microsoft.com>
Co-authored-by: hwangdeyu <deyhuang@qq.com>