Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
weidel-p committed Feb 16, 2023
1 parent 472222b commit 2c4c8d5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/lava/proc/dense/test_stdp_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -629,15 +629,15 @@ def test_rstdp_floating_point_multi_synapse(self):
weight_after_run,
np.array(
[
[191.7300724, 31.3616088, 255.5749675],
[187.6922553, 17.4506295, 250.7446092]
[191.7300724, 31.3616088, 255.5749675],
[187.6922553, 17.4506295, 250.7446092]
]
),
)

def test_rstdp_fixed_point(self):
"""Known value test. Run a simple learning dense layer between two LIF
and compare to the resulting weight from previous runs."""
def test_rstdp_fixed_point(self):
"""Known value test. Run a simple learning dense layer between two LIF
and compare to the resulting weight from previous runs."""

learning_rule = RewardModulatedSTDP(
learning_rate=1,
Expand Down Expand Up @@ -704,7 +704,7 @@ def test_rstdp_fixed_point(self):
np.testing.assert_almost_equal(weight_before_run, weights_init)
np.testing.assert_almost_equal(weight_after_run, np.array([[64]]))

def test_rstdp_fixed_point_multi_synapse(self):
def test_rstdp_fixed_point_multi_synapse(self):
"""Known value test. Run a simple learning dense layer between two LIF
population with multiple neurons and compare to the resulting weight
from previous runs."""
Expand Down

0 comments on commit 2c4c8d5

Please sign in to comment.