[easy] Expose documentation for a few global nn.Module hooks (#97185)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/97185
Approved by: https://github.com/albanD
This commit is contained in:
Mikayla Gawarecki
2023-03-20 21:09:51 +00:00
committed by PyTorch MergeBot
parent 7a93865c46
commit b04363ead4

View File

@ -51,7 +51,11 @@ Global Hooks For Module
register_module_forward_pre_hook
register_module_forward_hook
register_module_backward_hook
register_module_full_backward_pre_hook
register_module_full_backward_hook
register_module_buffer_registration_hook
register_module_module_registration_hook
register_module_parameter_registration_hook
.. currentmodule:: torch