|
169 | 169 | "1. Constructor function ``__init__()``, in which three key arguments are needed. \n", |
170 | 170 | " - `pre`: the pre-synaptic neural group. It should be an instance of `brainpy.dyn.NeuGroup`.\n", |
171 | 171 | " - `post`: the post-synaptic neural group. It should be an instance of `brainpy.dyn.NeuGroup`.\n", |
172 | | - " - `conn` (optional): the connection type between these two groups. BrainPy has provided abundant connection types that are described in details in the [Synaptic Connections](./synaptic_connections.ipynb).\n", |
| 172 | + " - `conn` (optional): the connection type between these two groups. BrainPy has provided abundant connection types that are described in details in the [Synaptic Connections](../tutorial_toolbox/synaptic_connections.ipynb).\n", |
173 | 173 | "2. Update function ``update(_t, _dt)`` describes the updating rule from the current time $\\mathrm{\\_t}$ to the next time $\\mathrm{\\_t + \\_dt}$. " |
174 | 174 | ] |
175 | 175 | }, |
|
385 | 385 | "id": "44fa4941", |
386 | 386 | "metadata": {}, |
387 | 387 | "source": [ |
388 | | - "More details of the connection structures please see the tutorial of [Synaptic Connections](./synaptic_connections.ipynb)." |
| 388 | + "More details of the connection structures please see the tutorial of [Synaptic Connections](../tutorial_toolbox/synaptic_connections.ipynb)." |
389 | 389 | ] |
390 | 390 | }, |
391 | 391 | { |
|
953 | 953 | "\n", |
954 | 954 | "Imaging you want to connect 10,000 pre-synaptic neurons to 10,000 post-synaptic neurons with a 10% random connection probability. Using matrix, you need $10^8$ floats to save the synaptic state, and at each update step, you need do computation on $10^8$ floats. Actually, the number of synapses you really connect is only $10^7$. See, there is a huge memory waste and computing resource inefficiency. Moreover, at the given time $\\mathrm{\\_t}$, the number of pre-synaptic neurons in the spiking state is small on average. This means we have made many useless computations when defining synaptic computations with matrix-based connections (zeros dot connection matrix results in zeros).\n", |
955 | 955 | "\n", |
956 | | - "Therefore, we need new ways to define synapse models. Specifically, we use vectors to store the connected neuron indices, like the ``pre_ids`` and ``post_ids`` (see [Synaptic Connections](./synaptic_connections.ipynb)). " |
| 956 | + "Therefore, we need new ways to define synapse models. Specifically, we use vectors to store the connected neuron indices, like the ``pre_ids`` and ``post_ids`` (see [Synaptic Connections](../tutorial_toolbox/synaptic_connections.ipynb)). " |
957 | 957 | ] |
958 | 958 | }, |
959 | 959 | { |
960 | 960 | "cell_type": "markdown", |
961 | 961 | "id": "b67256b8", |
962 | 962 | "metadata": {}, |
963 | 963 | "source": [ |
964 | | - "In the below, we assume you have learned the synaptic connection types detailed in the tutorial of [Synaptic Connections](./synaptic_connections.ipynb)." |
| 964 | + "In the below, we assume you have learned the synaptic connection types detailed in the tutorial of [Synaptic Connections](../tutorial_toolbox/synaptic_connections.ipynb)." |
965 | 965 | ] |
966 | 966 | }, |
967 | 967 | { |
|
1233 | 1233 | "encoding": "# -*- coding: utf-8 -*-" |
1234 | 1234 | }, |
1235 | 1235 | "kernelspec": { |
1236 | | - "display_name": "Python 3 (ipykernel)", |
| 1236 | + "display_name": "Python 3", |
1237 | 1237 | "language": "python", |
1238 | 1238 | "name": "python3" |
1239 | 1239 | }, |
|
1247 | 1247 | "name": "python", |
1248 | 1248 | "nbconvert_exporter": "python", |
1249 | 1249 | "pygments_lexer": "ipython3", |
1250 | | - "version": "3.9.7" |
| 1250 | + "version": "3.8.8" |
1251 | 1251 | }, |
1252 | 1252 | "latex_envs": { |
1253 | 1253 | "LaTeX_envs_menu_present": true, |
|
0 commit comments