Logging and changing activation values outside the forward method

Yes, you can use forward hooks as described here to inspect and manipulate the output activations.

1 Like