torch.nn.modules.module.register_module_full_backward_hook
- torch.nn.modules.module.register_module_full_backward_hook(hook)
Register a backward hook common to all the modules.
Hooks registered using this function behave in the same way as those registered by . Refer to its documentation for more details.