_script_compile and _script_class_compile add to the python CU
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/22724
Differential Revision: D16197609
Test Plan: Imported from OSS
Pulled By: suo
fbshipit-source-id: e12b31f8c8ce14b0968f4ac9445e7d225126b210