[ONNX] Support .item() export & NumberType to tensor conversion (#55697) (#57594)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/57594
Support .item() export & NumberType to tensor conversion
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D28393516
Pulled By: SplitInfinity
fbshipit-source-id: 94d0aec0a8fe144ee2567dc3c9c19fcb18ed21fa
Co-authored-by: BowenBao <bowbao@microsoft.com>