[ONNX] enable several script unit tests using new jit passes (#51722) (#53309)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/53309
* enable scripting related unit test
* fix flaske
* enable more tests
* fix interpolate and BCElogits test
* fix interpolate test ci
* add test_interpolate_upsample opset comment
* add interpolate_upsample tracing support below opset 9
Test Plan: Imported from OSS
Reviewed By: pbelevich, malfet
Differential Revision: D26922423
Pulled By: SplitInfinity
fbshipit-source-id: d1cd6a34c0820a75ffc28ff17acc5daa7807c00b
Co-authored-by: hwangdeyu <deyhuang@qq.com>