add float[] str[] constants (#31503)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/31503
Add support for float lists and string lists constants, which enables better constant propagation + constant pooling + freezing.
Test Plan: Imported from OSS
Differential Revision: D19233558
Pulled By: eellison
fbshipit-source-id: 4f7c6d9ddbe7623757a9a20606ce5f394e14e93d