Libraries
In this section, we describe the libraries we will use in this chapter, such as TensorFlow and Keras.
TensorFlow
TensorFlow is an open source software (OSS) library developed by the Google Brain team for ML and DNN research. However, it is also possible to run it on a wide range of systems, from mobile devices to multi-GPU setups, and it can have many applications beyond just ML. In this section, we will discuss some of its important aspects, such as the following:
- Tensors, which are a generalization of vectors and matrices in multiple dimensions (we can think of them as multi-dimensional arrays or lists). They are the basic building blocks in TensorFlow.
- Data-flow graphs (DFGs), in which nodes in the graph represent mathematical operations and edges represent the data (tensors) transmitted between these nodes. This approach enables parallel computation across multiple devices, making TensorFlow suitable for training large NNs.
- Multiple options for model...