You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ExecuTorch][#9638] Introduce Protected Method Getter in Extension.Module
# Context
This issue is a step of #9638. In the discussion, we want to unblock having `extension/Module` as the single source of implementation, which means that `pybindings/PyModule` should use `extension/Module` rather than its own.
Although we are decouping method getter from `pybindings` implementation, method getter itself is still needed. To keep having the method getter while not exposing it, we can create a protected method getter and confine it's usage inside child classes that we are about to create.
# Proposal
Add a protected `get_method` to `extension.Module`, taking method name string as an input.
Differential Revision: [D73473766](https://our.internmc.facebook.com/intern/diff/D73473766/)
[ghstack-poisoned]
0 commit comments