MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / _is_torch_proxy_blocked_module

Function _is_torch_proxy_blocked_module

python/paddle/compat/proxy.py:168–172  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

166
167
168def _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
175def _is_called_by_module_with_specific_dunder_attr(dunder_attr: str) -> bool:

Callers 1

find_specMethod · 0.85

Tested by

no test coverage detected