From e5678fc1545646b2615e5f9fc775c038053688bb Mon Sep 17 00:00:00 2001 From: John Anchery Date: Sat, 22 Jun 2024 19:49:39 +0530 Subject: [PATCH] Remove unwanted line This purticular line does not seem to do anything --- Chapter01/Multi_Head_Attention_Sub_Layer.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Chapter01/Multi_Head_Attention_Sub_Layer.ipynb b/Chapter01/Multi_Head_Attention_Sub_Layer.ipynb index 9dcb907..beb8d7e 100644 --- a/Chapter01/Multi_Head_Attention_Sub_Layer.ipynb +++ b/Chapter01/Multi_Head_Attention_Sub_Layer.ipynb @@ -606,7 +606,6 @@ "print(V[1])\n", "print(V[2])\n", "print(\"Attention 1\")\n", - "attention1=attention_scores[0].reshape(-1,1)\n", "attention1=attention_scores[0][0]*V[0]\n", "print(attention1)\n", "\n", @@ -874,4 +873,4 @@ ] } ] -} \ No newline at end of file +}