torch._C
sys.modules
See comment: e9d1c26275/torch/__init__.py (L938-L950) This PR recursively sets the submodules in the C extension to `sys.modules` (e.g., `_C._dynamo.eval_frame`). Pull Request resolved: https://github.com/pytorch/pytorch/pull/132216 Approved by: https://github.com/ezyang
e9d1c26275/torch/__init__.py (L938-L950)