Course contentsShow
Machine Learning and Deep Learning
Lesson 813 of 3,53819. PyTorch FundamentalsPro lesson

Hooks: Intercepting Forward and Backward Passes

Use register_forward_hook() and register_backward_hook() to inspect or modify activations and gradients.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.