[ONNX] Support tensor list as module attribute (#59685) (#61557)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61557
* Support tensor list as module attribute.
* Support exporting `torch.set_`.
Test Plan: Imported from OSS
Reviewed By: nikithamalgifb
Differential Revision: D29767992
Pulled By: SplitInfinity
fbshipit-source-id: 5ac5a09600d4dbe86b2fe354d240e46f1d1084ef