pytorch
17bc70e6 - [package] make importer a little more obscure (#51676)

Commit
3 years ago
[package] make importer a little more obscure (#51676) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/51676 We offer the ability to access the importer from within packaged modules by doing `import resources`. This behavior is nice (and more powerful than the importlib resources API), but I think `resources` is too common a name (pip has a package for it) Change to `import torch_package_importer` but open to bikeshedding Test Plan: Imported from OSS Reviewed By: jamesr66a Differential Revision: D26620314 Pulled By: suo fbshipit-source-id: 0942c99f02c0f55f5f3a1b2566961018b796bdd4
Author
suo suo
Parents
Loading