Skip to content

Tensors

Skip to the problems!

What's a Tensor?

In a general sense, a tensor is a one-dimensional or multidimensional array. In PyTorch, a Tensor behaviors very similarly to NumPy ndarray.

What's autograd?

torch.autograd is PyTorch’s automatic differentiation engine.