Skip to Content
PyTorch Recipes: A Problem-Solution Approach to Build, Train and Deploy Neural Network Models
book

PyTorch Recipes: A Problem-Solution Approach to Build, Train and Deploy Neural Network Models

by Pradeepta Mishra
December 2022
Intermediate to advanced
282 pages
5h 1m
English
Apress

Overview

Learn how to use PyTorch to build neural network models using code snippets updated for this second edition. This book includes new chapters covering topics such as distributed PyTorch modeling, deploying PyTorch models in production, and developments around PyTorch with updated code.

You'll start by learning how to use tensors to develop and fine-tune neural network models and implement deep learning models such as LSTMs, and RNNs. Next, you'll explore probability distribution concepts using PyTorch, as well as supervised and unsupervised algorithms with PyTorch. This is followed by a deep dive on building models with convolutional neural networks, deep neural networks, and recurrent neural networks using PyTorch. This new edition covers also topics such as Scorch, a compatible module equivalent to the Scikit machine learning library, model quantization to reduce parameter size, and preparing a model for deployment within a production system. Distributed parallel processing for balancing PyTorch workloads, using PyTorch for image processing, audio analysis, and model interpretation are also covered in detail. Each chapter includes recipe code snippets to perform specific activities.

By the end of this book, you will be able to confidently build neural network models using PyTorch.

What You Will Learn
  • Utilize new code snippets and models to train machine learning models using PyTorch
  • Train deep learning models with fewer and smarter implementations
  • Explore the PyTorch framework for model explainability and to bring transparency to model interpretation
  • Build, train, and deploy neural network models designed to scale with PyTorch
  • Understand best practices for evaluating and fine-tuning models using PyTorch
  • Use advanced torch features in training deep neural networks
  • Explore various neural network models using PyTorch
  • Discover functions compatible with sci-kit learn compatible models
  • Perform distributed PyTorch training and execution

Who This Book Is For
Machine learning engineers, data scientists and Python programmers and software developers interested in learning the PyTorch framework.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Beginning Deep Learning with TensorFlow: Work with Keras, MNIST Data Sets, and Advanced Neural Networks

Beginning Deep Learning with TensorFlow: Work with Keras, MNIST Data Sets, and Advanced Neural Networks

Liangqu Long, Xiangming Zeng
TensorFlow in Action

TensorFlow in Action

Thushan Ganegedara

Publisher Resources

ISBN: 9781484289259Purchase LinkPublisher Website