torch.nn.modules.module.register_module_parameter_registration_hook
- torch.nn.modules.module.register_module_parameter_registration_hook(hook)
Register a parameter registration hook common to all modules.
The hook will be called every time
is invoked. It should have the following signature: