Update 7_2_Backpropagation.ipynb

This commit is contained in:
SwayStar123
2024-05-23 14:59:55 +05:30
committed by GitHub
parent 06fc37c243
commit 56c31efc90

View File

@@ -143,7 +143,7 @@
" # Run through the layers, calculating all_f[0...K-1] and all_h[1...K]\n", " # Run through the layers, calculating all_f[0...K-1] and all_h[1...K]\n",
" for layer in range(K):\n", " for layer in range(K):\n",
" # Update preactivations and activations at this layer according to eqn 7.16\n", " # Update preactivations and activations at this layer according to eqn 7.16\n",
" # Remmember to use np.matmul for matrix multiplications\n", " # Remember to use np.matmul for matrix multiplications\n",
" # TODO -- Replace the lines below\n", " # TODO -- Replace the lines below\n",
" all_f[layer] = all_h[layer]\n", " all_f[layer] = all_h[layer]\n",
" all_h[layer+1] = all_f[layer]\n", " all_h[layer+1] = all_f[layer]\n",
@@ -353,4 +353,4 @@
"outputs": [] "outputs": []
} }
] ]
} }