Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove functional as a runtime module (pytorch#337)
Summary: Pull Request resolved: pytorch#337 The motivation to use runtime module is to override `__get_attr__` (which allows lazily loading operation at runtime, e.g. by dlopen a .so file), however, this doesn't work well with doc generation (plus it makes code more obscure to read). Since Python 3.7, `__get_attr__` is natively overridable: https://peps.python.org/pep-0562/ So we can get rid of using runtime module. Reviewed By: damianr99 Differential Revision: D36530070 fbshipit-source-id: 2318f517daddfc5bf0e215dc02660f36d48eb5de
- Loading branch information