From 40f6c58b3142d555d2fead424e143841b769b2af Mon Sep 17 00:00:00 2001 From: Chaoming Wang Date: Tue, 12 Dec 2023 15:46:04 +0800 Subject: [PATCH] Update README (#558) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update doc * add 第二届神经计算建模与编程培训班 --- README.md | 1 + brainpy/__init__.py | 2 +- brainpy/_src/running/pathos_multiprocessing.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c74b82d1..5373a33b9 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ We provide a Binder environment for BrainPy. You can use the following button to - **[brainpy-datasets](https://github.com/brainpy/datasets)**: Neuromorphic and Cognitive Datasets for Brain Dynamics Modeling. - [《神经计算建模实战》 (Neural Modeling in Action)](https://github.com/c-xy17/NeuralModeling) - [第一届神经计算建模与编程培训班 (First Training Course on Neural Modeling and Programming)](https://github.com/brainpy/1st-neural-modeling-and-programming-course) +- [第二届神经计算建模与编程培训班 (Second Training Course on Neural Modeling and Programming)](https://github.com/brainpy/2st-neural-modeling-and-programming-course) ## Citing diff --git a/brainpy/__init__.py b/brainpy/__init__.py index 1342eb9a0..272a7a0a7 100644 --- a/brainpy/__init__.py +++ b/brainpy/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -__version__ = "2.4.6.post2" +__version__ = "2.4.6.post4" # fundamental supporting modules from brainpy import errors, check, tools diff --git a/brainpy/_src/running/pathos_multiprocessing.py b/brainpy/_src/running/pathos_multiprocessing.py index f652217d9..e3eebe510 100644 --- a/brainpy/_src/running/pathos_multiprocessing.py +++ b/brainpy/_src/running/pathos_multiprocessing.py @@ -136,7 +136,7 @@ def cpu_ordered_parallel( >>> >>> def simulate(inp): >>> inp = bm.as_jax(inp) - >>> hh = bp.neurons.HH(1) + >>> hh = bp.dyn.HH(1) >>> runner = bp.DSRunner(hh, inputs=['input', inp], >>> monitors=['V', 'spike'], >>> progress_bar=False) @@ -194,7 +194,7 @@ def cpu_unordered_parallel( >>> >>> def simulate(inp): >>> inp = bm.as_jax(inp) - >>> hh = bp.neurons.HH(1) + >>> hh = bp.dyn.HH(1) >>> runner = bp.DSRunner(hh, inputs=['input', inp], >>> monitors=['V', 'spike'], >>> progress_bar=False)