Skip to content

Commit

Permalink
Update 13_4_Graph_Attention_Networks.ipynb
Browse files Browse the repository at this point in the history
`phi` is defined in the book as a column vector
  • Loading branch information
aleksandrskoselevs authored Oct 11, 2024
1 parent efafb94 commit 8c6e40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Notebooks/Chap13/13_4_Graph_Attention_Networks.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"# Choose random values for the parameters\n",
"omega = np.random.normal(size=(D,D))\n",
"beta = np.random.normal(size=(D,1))\n",
"phi = np.random.normal(size=(1,2*D))"
"phi = np.random.normal(size=(2*D,1))"
],
"metadata": {
"id": "79TSK7oLMobe"
Expand Down Expand Up @@ -210,4 +210,4 @@
}
}
]
}
}

0 comments on commit 8c6e40d

Please sign in to comment.