Skip to content

Commit 0ce012d

Browse files
Update src/models/snn_dt.py
Co-authored-by: devloai[bot] <168258904+devloai[bot]@users.noreply.github.com>
1 parent b3aec14 commit 0ce012d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/models/snn_dt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def _register_hooks(self):
8686
return
8787

8888
# 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)
89+
self.handle_pre_hook = self.action_linear_layer_ref.register_forward_pre_hook(self._hook_capture_pre_syn_for_action)
9090

9191
# Hook to capture the output of the entire self.predict_action nn.Sequential module
9292
self.handle_post_hook = self.predict_action.register_forward_hook(self._hook_capture_post_syn_for_action_logits)

0 commit comments

Comments
 (0)