Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into spinnaker_start
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B authored May 7, 2024
2 parents 7bb5246 + e33af57 commit e2e2ece
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python_actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
path: support

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install pip, etc
Expand Down
3 changes: 2 additions & 1 deletion learning/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
import matplotlib.pyplot as plt
import pyNN.spiNNaker as sim

sim.setup(timestep=1.0)
sim.setup(timestep=1.0, n_boards_required=1)
machine = sim.get_machine()
sim.set_number_of_neurons_per_core(sim.IF_curr_exp, 100)

pop_1 = sim.Population(1, sim.IF_curr_exp(), label="pop_1")
Expand Down

0 comments on commit e2e2ece

Please sign in to comment.