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

Function _is_torch_module

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

Source from the content-addressed store, hash-verified

155
156
157def _is_torch_module(name: str) -> bool:
158 return _is_specific_module_or_its_submodule(name, "torch")
159
160
161def _is_torch_proxy_local_enabled_module(name: str, scope: set[str]) -> bool:

Callers 4

find_specMethod · 0.85

Tested by

no test coverage detected