Tensor¤ Tensor ¤ Tensor(data, *, requires_grad=False, device='cpu') An n-dimensional array on a device ("cpu", "metal", "cuda") that records its ops for reverse-mode autodiff.