Skip to content

Commit

Permalink
Polish Tutorial (#5645)
Browse files Browse the repository at this point in the history
  • Loading branch information
frozenbugs authored May 1, 2023
1 parent 1bd3688 commit f635e2a
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions notebooks/sparse/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1208,23 +1208,16 @@
{
"cell_type": "markdown",
"source": [
"## Exercise"
],
"metadata": {
"id": "1iBNlJVYz3zi"
}
},
{
"cell_type": "markdown",
"source": [
"## Exercise \\#1\n",
"\n",
"*Let's test what you've learned. Feel free to [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/dmlc/dgl/blob/master/notebooks/sparse/quickstart.ipynb).*\n",
"\n",
"Given a sparse symmetrical adjacency matrix $A$, calculate its symmetrically normalized adjacency matrix: $$norm = \\bar{D}^{-\\frac{1}{2}}\\bar{A}\\bar{D}^{-\\frac{1}{2}}$$\n",
"\n",
"Where $\\bar{A} = A + I$, $I$ is the identity matrix, and $\\bar{D}$ is the diagonal node degree matrix of $\\bar{A}$."
],
"metadata": {
"id": "yDQ4Kmr_08St"
"id": "1iBNlJVYz3zi"
}
},
{
Expand Down Expand Up @@ -1254,7 +1247,7 @@
{
"cell_type": "markdown",
"source": [
"## Exercise\n",
"## Exercise \\#2\n",
"\n",
"Let's implement a simplified version of the Graph Attention Network (GAT) layer.\n",
"\n",
Expand Down Expand Up @@ -1324,4 +1317,4 @@
"outputs": []
}
]
}
}

0 comments on commit f635e2a

Please sign in to comment.