We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3aec14 commit 0ce012dCopy full SHA for 0ce012d
1 file changed
src/models/snn_dt.py
@@ -86,7 +86,7 @@ def _register_hooks(self):
86
return
87
88
# Hook to capture the input to the nn.Linear layer inside self.predict_action
89
- self.handle_pre_hook = self.action_linear_layer_ref.register_forward_hook(self._hook_capture_pre_syn_for_action)
+ self.handle_pre_hook = self.action_linear_layer_ref.register_forward_pre_hook(self._hook_capture_pre_syn_for_action)
90
91
# Hook to capture the output of the entire self.predict_action nn.Sequential module
92
self.handle_post_hook = self.predict_action.register_forward_hook(self._hook_capture_post_syn_for_action_logits)
0 commit comments