Skip to content

Commit 1bd3688

Browse files
[Tutorial] Add a small test for GAT exercise (#5644)
Co-authored-by: Hongzhi (Steve), Chen <[email protected]>
1 parent 24b7468 commit 1bd3688

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

notebooks/sparse/quickstart.ipynb

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,6 +1307,21 @@
13071307
},
13081308
"execution_count": null,
13091309
"outputs": []
1310+
},
1311+
{
1312+
"cell_type": "code",
1313+
"source": [
1314+
"# Test:\n",
1315+
"# Let's use the symmetric A created above.\n",
1316+
"X = torch.randn(6, 20)\n",
1317+
"module = SimplifiedGAT(20, 10)\n",
1318+
"Y = module(A, X)"
1319+
],
1320+
"metadata": {
1321+
"id": "qjcXiidYCqGK"
1322+
},
1323+
"execution_count": null,
1324+
"outputs": []
13101325
}
13111326
]
13121327
}

0 commit comments

Comments
 (0)