Skip to content

Commit

Permalink
Fix for failing tests/lava/lib/dl/netx/test_hdf5.py (#44)
Browse files Browse the repository at this point in the history
* fix for test hdf5 fail

Signed-off-by: bamsumit <[email protected]>
  • Loading branch information
bamsumit authored Mar 8, 2022
1 parent e086551 commit 70ab5ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lava/lib/dl/netx/test_hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ def test_tinynet(self) -> None:

# layer reset mechanism
for i, l in enumerate(net.layers):
u_resetter = io.reset.Reset(interval=steps_per_sample, offset=i)
v_resetter = io.reset.Reset(interval=steps_per_sample, offset=i)
u_resetter = io.reset.Reset(interval=steps_per_sample, offset=i - 1)
v_resetter = io.reset.Reset(interval=steps_per_sample, offset=i - 1)
u_resetter.connect_var(l.neuron.u)
v_resetter.connect_var(l.neuron.v)

Expand Down

0 comments on commit 70ab5ab

Please sign in to comment.