Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Time Series with PyTorch

You're reading from   Time Series with PyTorch Modern Deep Learning Toolkit for Real-World Forecasting Challenges

Arrow left icon
Product type Paperback
Published in May 2026
Last Updated in Sep 2025
Publisher Packt
ISBN-13 9781805128182
Length 610 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Graeme Davidson Graeme Davidson
Author Profile Icon Graeme Davidson
Graeme Davidson
Lei Ma Lei Ma
Author Profile Icon Lei Ma
Lei Ma
Arrow right icon
View More author details
Toc

Introduction to PyTorch

PyTorch is an open-source machine learning library that is primarily used for developing deep learning models. It is based on Torch, a scientific computing framework, and provides a flexible and dynamic way of building and training models. What makes its popular is that the defining characteristics of PyTorch are in its “Pythonic” design, which you can learn about by importing ‘this’ into python.

#| label: The zen of python by Tim Peters
#| message: false
#| echo: true
#| eval: true
import this

PyTorch uses Python as its primary interface, which makes it intuitive and easy to learn for developers who are already familiar with the language. This is in contrast to TensorFlow, which is more focused on creating a static computation graph that is compiled and optimized before the model is run.

Its dynamic computation graph allows for considerable flexibility in building models, as developers can modify graphs on-the-fly during training...

lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Time Series with PyTorch
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon