Skip to content

Commit

Permalink
tutorial 7 rollback
Browse files Browse the repository at this point in the history
bug-fix that prevented tutorial 7 from being opened
  • Loading branch information
jeshraghian authored Oct 14, 2023
1 parent 3c85b52 commit f37578a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions examples/tutorial_7_neuromorphic_datasets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"colab_type": "text",
"id": "view-in-github"
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/jeshraghian/snntorch/blob/docs-update/examples/tutorial_7_neuromorphic_datasets.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
Expand Down Expand Up @@ -386,7 +386,8 @@
},
"outputs": [],
"source": [
"device = torch.device(\"cuda\") if torch.cuda.is_available() else torch.device("mps") if torch.backends.mps.is_available() else torch.device(\"cpu\")\n",
"device = torch.device(\"cuda\") if torch.cuda.is_available() else torch.device(\"cpu\")\n",
"\n",
"# neuron and simulation parameters\n",
"spike_grad = surrogate.atan()\n",
"beta = 0.5\n",
Expand Down Expand Up @@ -640,11 +641,10 @@
"metadata": {
"accelerator": "GPU",
"colab": {
"include_colab_link": true,
"name": "Copy of tutorial_5_neuromorphic_datasets.ipynb",
"provenance": []
"provenance": [],
"include_colab_link": true
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
Expand All @@ -661,7 +661,8 @@
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.11"
}
},
"gpuClass": "standard"
},
"nbformat": 4,
"nbformat_minor": 5
Expand Down

0 comments on commit f37578a

Please sign in to comment.