pybind CompilationUnit and Function directly (#19720)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19720
ghimport-source-id: c5829234dbbe8f7fe719ffce3fa92ce5198ffd21
Reviewed By: jamesr66a
Differential Revision: D15078536
Pulled By: zdevito
fbshipit-source-id: e617de31fc907a408fb50e18d9358dfd64de1f9e