a =
NumPy runs here for real; PyTorch does not run in the browser. PyTorch code is shown next to it, and every PyTorch result stated here (dtypes, errors) was recorded with PyTorch 2.14.0.
Starting Python… (first visit downloads ≈ 15 MB, then it is cached)
Pick a creation function to see the tensor it makes.
import numpy as np a = np.zeros((2, 3)) a
Output
Output appears here.