diff --git a/examples/tutorial_regression_2.ipynb b/examples/tutorial_regression_2.ipynb index 5255ab2d..6b6f96cb 100644 --- a/examples/tutorial_regression_2.ipynb +++ b/examples/tutorial_regression_2.ipynb @@ -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", @@ -175,7 +177,7 @@ "## 2.1 RLIF Neurons with 1-to-1 connections\n", "\n", "
\n", - "\n", + "\n", "
\n", "\n", "\n", @@ -240,7 +242,7 @@ "### 2.2.1 Linear feedback \n", "\n", "
\n", - "\n", + "\n", "
\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."