[ONNX] Enable Constant Folding for ONNX Opset 13 (#51096) (#51523)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51523
* Enable Constant Folding for ONNX Opset 13
* fix CI clang-diagnostic
* fix integers type
* fix comments:sort axes and support negative number
* update squeeze op constant folding
* fix format warning
* fix clang-format issue
Test Plan: Imported from OSS
Reviewed By: pbelevich
Differential Revision: D26203111
Pulled By: SplitInfinity
fbshipit-source-id: c33637ab39db614207bd442c6ab464bd09339b4a
Co-authored-by: hwangdeyu <deyhuang@qq.com>