(name: str)
| 166 | |
| 167 | |
| 168 | def _is_torch_proxy_blocked_module(name: str) -> bool: |
| 169 | for blocked_module in TORCH_PROXY_BLOCKED_MODULES: |
| 170 | if _is_specific_module_or_its_submodule(name, blocked_module): |
| 171 | return True |
| 172 | return False |
| 173 | |
| 174 | |
| 175 | def _is_called_by_module_with_specific_dunder_attr(dunder_attr: str) -> bool: |
no test coverage detected