Legacy support for embedded interpreter (#71197)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/71197
Adds back legacy support for emmbedded interpreter to use .data section in internal use cases. Specifically this allows for dynamic loading of python extension files.
Test Plan: buck test mode/opt //caffe2/torch/csrc/deploy:test_deploy_gpu_legacy
Reviewed By: shunting314
Differential Revision: D33542636
fbshipit-source-id: b49f94163c91619934bc35595304b9e84d0098fc