Add str[] float[] constants resubmit
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/31791
Test Plan: Imported from OSS
Reviewed By: driazati
Differential Revision: D19439513
Pulled By: eellison
fbshipit-source-id: a04c7401687b051f0d4fb4794963931ebe004194