Skip to content

Commit

Permalink
Fix Pool layer when pre_hoox is not None (#13)
Browse files Browse the repository at this point in the history
Co-authored-by: Marcus G K Williams <[email protected]>
  • Loading branch information
valmat07 and mgkwill authored Nov 24, 2021
1 parent 59ea2b0 commit fd695f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lava/lib/dl/slayer/synapse/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ def forward(self, input):
in_shape[3],
in_shape[4]
)),
self.preHooFx(self.weight), self.bias,
self._pre_hook_fx(self.weight), self.bias,
self.stride, self.padding, self.dilation,
)
return result.reshape((
Expand Down

0 comments on commit fd695f5

Please sign in to comment.