r/tensorflow • u/Shradha_Singh • Dec 11 '20
AI Engineer asks what’s the difference between TensorFlow 1.0 and Tensorflow 2.0
https://recentlyheard.com/2020/12/10/ai-engineer-asks-whats-the-difference-between-tensorflow-1-0-and-tensorflow-2-0/
0
Upvotes
1
u/grid_world Dec 11 '20
The biggest difference is that in TensorFlow 1.0 you first had to define the graph of operations on the tensor and then execute it. Whereas, in TensorFlow 2.0, it tries to be more Pythonic by letting you dynamically execute it.
1
5
u/VermillionBlu Dec 11 '20
One of the worst articles I read in a while. No benchmarks, no comparisons etc.
Writer doesn't seem to know what actually the difference is, and why is it a big deal.
Just for comparison, TF1 performs much better in terms of execution speed than TF2. This is a known issue across developers uaing TF2.