remove bridge API from codegen (#55796)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55796
Test Plan: Imported from OSS
Reviewed By: navahgar
Differential Revision: D28474361
Pulled By: bdhirsh
fbshipit-source-id: c7f5ce35097f8eaa514f3df8f8559548188b265b