Accelerate deep learning and other number-intensive tasks with JAX, Google’s awesome high-performance numerical computing library.
The JAX numerical computing library tackles the core performance challenges at the heart of deep learning and other scientific computing tasks. By combining Google’s Accelerated Linear Algebra platform (XLA) with a hyper-optimized version of NumPy and a variety of other high-performance features, JAX delivers a huge performance boost in low-level computations and transformations.
In Deep Learning with JAX you will learn how to:
• Use JAX for numerical calculations
• Build differentiable models with JAX primitives
• Run distributed and parallelized computations with JAX
• Use high-level neural network libraries such as Flax
• Leverage libraries and modules from the JAX ecosystem
Deep Learning with JAX is a hands-on guide to using JAX for deep learning and other mathematically-intensive applications. Google Developer Expert Grigory Sapunov steadily builds your understanding of JAX’s concepts. The engaging examples introduce the fundamental concepts on which JAX relies and then show you how to apply them to real-world tasks. You’ll learn how to use JAX’s ecosystem of high-level libraries and modules, and also how to combine TensorFlow and PyTorch with JAX for data loading and deployment.
About the technology
Google’s JAX offers a fresh vision for deep learning. This powerful library gives you fine control over low level processes like gradient calculations, delivering fast and efficient model training and inference, especially on large datasets. JAX has transformed how research scientists approach deep learning. Now boasting a robust ecosystem of tools and libraries, JAX makes evolutionary computations, federated learning, and other performance-sensitive tasks approachable for all types of applications.
About the book
Deep Learning with JAX teaches you to build effective neural networks with JAX. In this example-rich book, you’ll discover how JAX’s unique features help you tackle important deep learning performance challenges, like distributing computations across a cluster of TPUs. You’ll put the library into action as you create an image classification tool, an image filter application, and other realistic projects. The nicely-annotated code listings demonstrate how JAX’s functional programming mindset improves composability and parallelization.
What's inside
• Use JAX for numerical calculations
• Build differentiable models with JAX primitives
• Run distributed and parallelized computations with JAX
• Use high-level neural network libraries such as Flax
About the reader
For intermediate Python programmers who are familiar with deep learning.
About the author
Grigory Sapunov holds a Ph.D. in artificial intelligence and is a Google Developer Expert in Machine Learning.
The technical editor on this book was Nicholas McGreivy.
Table of Contents
Part 1
1 When and why to use JAX
2 Your first program in JAX
Part 2
3 Working with arrays
4 Calculating gradients
5 Compiling your code
6 Vectorizing your code
7 Parallelizing your computations
8 Using tensor sharding
9 Random numbers in JAX
10 Working with pytrees
Part 3
11 Higher-level neural network libraries
12 Other members of the JAX ecosystem
A Installing JAX
B Using Google Colab
C Using Google Cloud TPUs
D Experimental parallelization

- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Deep Learning with JAX
About this book
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Subtopic
Neural NetworksTable of contents
- Deep Learning with JAX
- Copyright
- dedication
- contents
- front matter
- Part 1. First steps
- 1 When and why to use JAX
- 2 Your first program in JAX
- Part 2. Core JAX
- 3 Working with arrays
- 4 Calculating gradients
- 5 Compiling your code
- 6 Vectorizing your code
- 7 Parallelizing your computations
- 8 Using tensor sharding
- 9 Random numbers in JAX
- 10 Working with pytrees
- Part 3. Ecosystem
- 11 Higher-level neural network libraries
- 12 Other members of the JAX ecosystem
- Appendix A. Installing JAX
- Appendix B. Using Google Colab
- Appendix C. Using Google Cloud TPUs
- Appendix D. Experimental parallelization
- index
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Deep Learning with JAX by Grigory Sapunov in PDF and/or ePUB format. We have over one million books available in our catalogue for you to explore.