[jit] [shape analysis] Move constant tensors out of fused subgraphs during generalization (#70320)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70320
ghstack-source-id: 146514368
Test Plan: `buck test mode/dev-nosan //caffe2/test/cpp/jit:jit`
Reviewed By: eellison
Differential Revision: D33280508
fbshipit-source-id: fe4291d7c49f0a498b330de96b698e99f6f6a505