3 Introduction to deep learning frameworks: TensorFlow, PyTorch, JAX, and Keras
This chapter covers
- A closer look at all major deep-learning frameworks and their relationship
- An overview of how core deep learning concepts translate to code across all frameworks
This chapter is meant to give you everything you need to start doing deep learning in practice. First, you’ll get familiar with three popular deep learning frameworks that can be used with Keras:
- TensorFlow (https://tensorflow.org)
- PyTorch (https://pytorch.org/)
- JAX (https://jax.readthedocs.io/)
Then, building on top of the first contact you’ve had with Keras in chapter 2, we’ll review the core components of neural networks and how they translate to Keras APIs.
By the end of this chapter, you’ll be ready to move on to practical, real-world applications – which will start with chapter 4.
3.1 A brief history of deep learning frameworks
In the real world, you’re not going to be writing low-level code from scratch like we did at the end of chapter 2. Instead, you’re going to use a framework. Besides Keras, the main deep learning frameworks today are JAX, TensorFlow, and PyTorch. This book will teach you about all four.