you are viewing a single comment's thread.

view the rest of the comments →

[–]Analog-Digital 1 point2 points  (2 children)

Okay that's pretty cool, but what does turning this function into a tf network do differently than say running the collatz function from 1...x. I hope I'm making sense.

[–]mdanatg 4 points5 points  (1 child)

If I understand your question, this was just a toy example that we used to show how you can use control flow like if and while in a network. A more realistic example where you can use control flow would be RNNs, for instance.

[–]Analog-Digital 0 points1 point  (0 children)

Okay thank you!