torch.nn - PyTorch 2.3 documentation, PyTorch Authors, 2024 (PyTorch Foundation) - Official documentation for PyTorch's nn.Module hooks, including forward, pre-forward, and backward hook APIs.
torch.autograd - PyTorch 2.3 documentation, PyTorch Authors, 2024 (PyTorch Foundation) - Official documentation explaining PyTorch's automatic differentiation engine and tensor hooks like register_hook.
Deep Learning with PyTorch, Eli Stevens, Luca Antiga, and Thomas Viehmann, 2020 (Manning Publications) - A comprehensive book providing practical guidance on PyTorch, often covering debugging, introspection, and advanced usage patterns, which may involve hooks.
Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization, Ramprasaath R. Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, and Dhruv Batra, 2017IEEE International Conference on Computer Vision (ICCV) (IEEE)DOI: 10.1109/ICCV.2017.74 - The seminal paper introducing Grad-CAM, a technique for model interpretability that relies on accessing intermediate gradients and activations, a key application for PyTorch hooks.