Searched refs:nn_module_has_global_hooks (Results 1 – 2 of 2) sorted by relevance
11 from .utils import ExactWeakKeyDictionary, is_lazy_module, nn_module_has_global_hooks117 if isinstance(obj, torch.nn.Module) and nn_module_has_global_hooks():
2111 def nn_module_has_global_hooks(): function