1 min readJan 11, 2019
Thank you Omar! Really appreciate it and I am glad you liked the article.
No, `5, 15, Add, Mul, Div` is correct because the two constants will only be evaluated once. This basically applies for every node in the graph. When evaluating Mul we can take for granted (due to the topological ordering) that the inputs where already evaluated.
Does that make sense?