44. Install PyTorch and First Tensors
44.5 Practice, Tip and Close
Why. Close when torch imports and shapes feel normal.
How.
Chapter practice
- Install/verify torch; print version.
- Create a tensor of fictional daily pedha sales for 7 days; print mean.
- Reshape a 12-length tensor to (3, 4).
- Print your device (cpu/cuda).
Thodkyaat sangaycha tar (quick recap)
- PyTorch first on this course (CPU OK)
- Tensors store numbers (+ grads when needed)
- Always check shape
- GPU optional for beginner demos
Samajla ka? Next: Chapter 45 — Your first neural network in PyTorch.