Skip to content

Commit c1f3eab

Browse files
committed
docs: fix markdown code blocks in residual connections notes
1 parent e452465 commit c1f3eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/residual-connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Gradient = 0.1 * 0.1 * 0.1 = 0.001
5858

5959
With a skip connection this becomes:
6060
```console
61-
```console
6261
x_1 = x_0 + F(x_0)
6362
x_2 = x_1 + G(x_1)
6463
x_3 = x_2 + H(x_2)
@@ -86,6 +85,7 @@ Total Gradient = (1 + 0.1) * (1 + 0.1) * (1 + 0.1)
8685
Total Gradient = 1.1 * 1.1 * 1.1 = 1.331
8786
```
8887
Instead of shrinking to 0.001, the signal stayed strong at 1.331.
88+
```
8989
9090
(1 + H'(x_2)) * (1 + G'(x_1)) * (1 + F'(x_0))
9191

0 commit comments

Comments
 (0)