2 TensorFlow 2
This chapter covers
- What is TensorFlow and main differences between TensorFlow 1 and TensorFlow 2
- Various features introduced in TensorFlow 2 such as AutoGraph and Eager Exectution
- Various data structures and operations in TensorFlow such as,
tf.Variable
andtf.Tensor
- Common neural network related operations in TensorFlow
We now know that TensorFlow is an end-to-end machine learning framework predominantly used for implementing deep neural networks. TensorFlow is skillful at converting these deep neural networks to computational graphs that run faster on optimized hardware (e.g. Graphical Processing Units - GPUs and Tensor Processing Units - TPUs). But keep in mind that this is not the only use for TensorFlow. Table 2.1 delineates other areas TensorFlow supports.