Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
PyTorch Pocket Reference: Building and Deploying Deep Learning Models
Purchase options and add-ons
This concise, easy-to-use reference puts one of the most popular frameworks for deep learning research and development at your fingertips. Author Joe Papa provides instant access to syntax, design patterns, and code examples to accelerate your development and reduce the time you spend searching for answers.
Research scientists, machine learning engineers, and software developers will find clear, structured PyTorch code that covers every step of neural network development-from loading data to customizing training loops to model optimization and GPU/TPU acceleration. Quickly learn how to deploy your code to production using AWS, Google Cloud, or Azure and deploy your ML models to mobile and edge devices.
- Learn basic PyTorch syntax and design patterns
- Create custom models and data transforms
- Train and deploy models using a GPU and TPU
- Train and test a deep learning classifier
- Accelerate training using optimization and distributed training
- Access useful PyTorch libraries and the PyTorch ecosystem
- ISBN-10149209000X
- ISBN-13978-1492090007
- Edition1st
- PublisherO'Reilly Media
- Publication dateJune 15, 2021
- LanguageEnglish
- Dimensions4.25 x 0.65 x 7 inches
- Print length307 pages
Frequently bought together

Customers who viewed this item also viewed
- Deep Learning with PyTorch, Second Edition: Training and applying deep learning and generative AI modelsLuca AntigaPaperbackFREE Shipping by AmazonGet it as soon as Monday, Sep 21
- Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent SystemsPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Sep 19
- Machine Learning Pocket Reference: Working with Structured Data in PythonPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Saturday, Sep 19Only 4 left in stock (more on the way).
- Build a Large Language Model (From Scratch)PaperbackFREE Shipping by AmazonGet it as soon as Saturday, Sep 19
- Machine Learning with PyTorch and Scikit-Learn: Develop machine learning and deep learning models with PythonPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Sep 19
- Deep Learning for Coders with Fastai and PyTorch: AI Applications Without a PhDPaperbackFREE Shipping by AmazonGet it as soon as Saturday, Sep 19
Customers also bought or read
- Machine Learning Pocket Reference: Working with Structured Data in Python
Paperback$16.49$16.49Delivery Sat, Sep 19 - TensorFlow 2 Pocket Reference: Building and Deploying Machine Learning Models
Paperback$24.95$24.95FREE delivery Sep 22 - 25 - Machine Learning with PyTorch and Scikit-Learn: Develop machine learning and deep learning models with Python#1 Best SellerSpeech & Audio Processing
Paperback$36.05$36.05FREE delivery Sat, Sep 19 - Hands-On Machine Learning with Scikit-Learn and PyTorch: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$77.72$77.72FREE delivery Sat, Sep 19 - Python Pocket Reference: Python In Your Pocket (Pocket Reference (O'Reilly))
Paperback$13.09$13.09Delivery Sat, Sep 19 - Mastering PyTorch: Create and deploy deep learning models from CNNs to multimodal models, LLMs, and beyond
Paperback$34.58$34.58Delivery Mon, Sep 21 - Natural Language Processing with Transformers, Revised Edition
Paperback$41.60$41.60FREE delivery Sat, Sep 19 - Build a Large Language Model (From Scratch)#1 Best SellerComputer Neural Networks
Paperback$49.24$49.24FREE delivery Sat, Sep 19 - Deep Learning for Coders with Fastai and PyTorch: AI Applications Without a PhD
Paperback$39.66$39.66FREE delivery Sat, Sep 19 - Data Pipelines Pocket Reference: Moving and Processing Data for Analytics
Paperback$16.93$16.93Delivery Sat, Sep 19 - Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems
Paperback$49.50$49.50FREE delivery Mon, Sep 21 - LLM Engineer's Handbook: Master the art of engineering large language models from concept to production
Paperback$39.99$39.99FREE delivery Sep 19 - 21 - PyTorch: The Practical Guide to Building, Training, and Deploying Deep Learning Models (Rheinwerk Computing)
Paperback$47.77$47.77FREE delivery Sat, Sep 19 - Hands-On Large Language Models: Language Understanding and Generation
Paperback$37.68$37.68FREE delivery Sat, Sep 19 - Programming PyTorch for Deep Learning: Creating and Deploying Deep Learning Applications
Paperback$29.20$29.20Delivery Mon, Sep 21 - Deep Learning with PyTorch: Build, train, and tune neural networks using Python tools
Paperback$45.04$45.04$3.99 delivery Wed, Sep 30 - Deep Learning with PyTorch Step-by-Step: A Beginner's Guide: Volume I: Fundamentals
Paperback$27.95$27.95Delivery Mon, Sep 21 - Designing Machine Learning Systems: An Iterative Process for Production-Ready Applications
Paperback$40.00$40.00FREE delivery Sat, Sep 19 - Deep Learning (Adaptive Computation and Machine Learning series)
Hardcover$51.51$51.51FREE delivery Sep 20 - 24 - Python Machine Learning By Example: Unlock machine learning best practices with real-world use cases
Paperback$29.55$29.55Delivery Mon, Sep 21 - Building AI Agents with LLMs, RAG, and Knowledge Graphs: A practical guide to autonomous and modern AI agents
Paperback$41.99$41.99FREE delivery Mon, Sep 21 - Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code
Paperback$36.33$36.33FREE delivery Mon, Sep 21 - Deep Learning with PyTorch, Second Edition: Training and applying deep learning and generative AI models
Paperback$51.68$51.68FREE delivery Mon, Sep 21 - AI Systems Performance Engineering: Optimizing Model Training and Inference Workloads with GPUs, CUDA, and PyTorch#1 Best SellerComputer Hardware Design & Architecture
Paperback$86.07$86.07FREE delivery Sat, Sep 19 - Reinforcement Learning, second edition: An Introduction (Adaptive Computation and Machine Learning series)
Hardcover$80.48$80.48FREE delivery Sat, Sep 19 - The Hundred-Page Language Models Book: hands-on with PyTorch (The Hundred-Page Books)
Paperback$46.95$46.95FREE delivery Mon, Sep 21 - Deep Reinforcement Learning Hands-On: A practical and easy-to-follow guide to RL from Q-learning and DQNs to PPO and RLHF
Paperback$32.75$32.75Delivery Mon, Sep 21
From the brand
-
Machine Learning, AI & more
-
Machine Learning
-
Artificial Intelligence
-
Deep Learning
-
Language Processing (NLP, LLM)
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
We are living in exciting times! Some of us have been fortunate to have lived through huge advances in technology—the invention of the personal computer, the dawn of the internet, the proliferation of cell phones, and the advent of social media. And now, major breakthroughs are happening in AI!
It’s exciting to watch and be a part of this change. I think we’re just getting started, and it’s amazing to think of how the world might change over the next decade. How great it is that we’re living during these times and can participate in the expansion of AI?
PyTorch has, no doubt, enabled some of the finest advances in deep learning and AI. It’s free to download and use, and with it anyone with a computer or internet connection can run AI experiments. In addition to more comprehensive references like this one, there are many free and inexpensive training courses, blog articles, and tutorials that can help you. Anyone can get started using PyTorch for machine learning and AI.
Who Should Read This Book
This book is written for both beginners and advanced users interested in machine learning and AI. It will help to have some experience writing Python code and a basic understanding of data science and machine learning.
If you’re just getting started in machine learning, this book will help you learn the basics of PyTorch and provide some simple examples. If you’ve been using another framework, such as TensorFlow, Caffe2, or MXNet, the book with help you become familiar with the PyTorch API and its programming mindset so you can expand your skillset.
If you’ve been using PyTorch for a while, this book will help you expand your knowledge on advanced topics like acceleration and optimization and provide a quick-reference resource while you use PyTorch for your day-to-day development.
Why I Wrote This Book
Learning and mastering PyTorch can be very exciting. There’s so much to explore! When I first started learning PyTorch, I wished I had a single resource that would teach me everything. I wanted something that would give me a good high-level look at what PyTorch had to offer, but also would provide examples and enough details when I needed to dig deeper.
There are some really good books and courses on PyTorch, but they often focus on tensors and training for deep learning models. The PyTorch online documentation is really good, too, and provides a lot of details and examples; however, I found using it was often cumbersome. I kept having to click around to learn or Google what I needed to know. I needed a book on my desk that I could earmark and reference as I was coding.
My goal is that this will be the ultimate PyTorch reference for you. In addition to reading through it to get a high-level understanding of the PyTorch resources available to you, I hope that you earmark the key sections for your development work and keep it on your desk. That way if you forget something, you can get the answer right away. If you prefer ebooks or online books, You can bookmark this book online. However you may use it, I hope the book helps you create some amazing new technology with PyTorch!
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : June 15, 2021
- Edition : 1st
- Language : English
- Print length : 307 pages
- ISBN-10 : 149209000X
- ISBN-13 : 978-1492090007
- Item Weight : 2.31 pounds
- Dimensions : 4.25 x 0.65 x 7 inches
- Best Sellers Rank: #376,603 in Books (See Top 100 in Books)
- #69 in Computer Algorithms
- #110 in Data Modeling & Design (Books)
- #159 in Programming Algorithms
- Customer Reviews:
About the author

Joe Papa has over 25 years experience in research & development and is the founder of TeachMe.AI. He holds an MSEE and has led AI Research teams with PyTorch at Booz Allen and Perspecta Labs. Joe is currently Chief AI Engineer at Mobile Insights. He has mentored hundreds of Data Scientists and has taught 6,000+ students across the world with Udemy, Packt, and O'Reilly Media.















