Learn Before
Concept

Tensors in PyTorch

One of the major features of PyTorch is how it represents data. It uses a multi-dimensional array like in NumPy but they are called Tensors. To a programmer the the initialization and manipulation of the array is the exact same or very similar to NumPy. But under the hood, they are used to dynamically generate a graph and apply automatic differentiation.

0

1

Updated 2026-04-30

Tags

Data Science

D2L

Dive into Deep Learning @ D2L

Related
Learn After