Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/jeshraghian/snntorch
Browse files Browse the repository at this point in the history
  • Loading branch information
jeshraghian committed Feb 21, 2023
2 parents 55270d5 + a320d54 commit 9a0dac6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/tutorial_regression_2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
"source": [
"# imports\n",
"import snntorch as snn\n",
"from snntorch import surrogate\n",
"from snntorch import functional as SF\n",
"from snntorch import utils\n",
"\n",
"import torch\n",
"import torch.nn as nn\n",
Expand Down Expand Up @@ -175,7 +177,7 @@
"## 2.1 RLIF Neurons with 1-to-1 connections\n",
"\n",
"<center>\n",
"<img src='https://github.com/jeshraghian/snntorch/blob/master/docs/_static/img/examples/regression2/reg2-1.jpg?raw=true' width=\"400\">\n",
"<img src='https://github.com/jeshraghian/snntorch/blob/master/docs/_static/img/examples/regression2/reg2-1.jpg?raw=true' width=\"600\">\n",
"</center>\n",
"\n",
"\n",
Expand Down Expand Up @@ -240,7 +242,7 @@
"### 2.2.1 Linear feedback \n",
"\n",
"<center>\n",
"<img src='https://github.com/jeshraghian/snntorch/blob/master/docs/_static/img/examples/regression2/reg2-2.jpg?raw=true' width=\"400\">\n",
"<img src='https://github.com/jeshraghian/snntorch/blob/master/docs/_static/img/examples/regression2/reg2-2.jpg?raw=true' width=\"600\">\n",
"</center>\n",
"\n",
"By default, `RLeaky` assumes feedback connections where all spikes from a given layer are first weighted by a feedback layer before being passed to the input of all neurons. This introduces more parameters, but it is thought this helps with learning time-varying features in data."
Expand Down

0 comments on commit 9a0dac6

Please sign in to comment.