Skip to content

Commit 6c19ca8

Browse files
committed
Fixes "bottom to up" -> "bottom to top"
1 parent 2166c45 commit 6c19ca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/post/deeplearning_in_go_part_1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ This corresponds to this part of the cleaned up graph (with unnecessary nodes re
210210
</div>
211211

212212

213-
The graph is traversed in a depth-first manner, starting from the top. The values of the program flow from bottom to up. When the program runs, it starts right at the top. The node will not be resolved until the dependent nodes have been evaluated. The arrows point to what each node depends on. So for example, the value of the `*ast.BinaryExpr` node is dependent on the values of `*ast.BasicLit (Kind: INT)`. Since we know both values are `1`, and we know what `+` does, we know that the value at the node `*ast.BinaryExpr` is `2`.
213+
The graph is traversed in a depth-first manner, starting from the top. The values of the program flow from bottom to top. When the program runs, it starts right at the top. The node will not be resolved until the dependent nodes have been evaluated. The arrows point to what each node depends on. So for example, the value of the `*ast.BinaryExpr` node is dependent on the values of `*ast.BasicLit (Kind: INT)`. Since we know both values are `1`, and we know what `+` does, we know that the value at the node `*ast.BinaryExpr` is `2`.
214214

215215
## Equations As Graphs ##
216216

0 commit comments

Comments
 (0)