🖼️ Images as Tensors

See how computers represent images as numbers

📊 Image (8×8 pixels)

Shape: (3, 8, 8) — [Channels, Height, Width]
Click a pixel to see its RGB values

💾 Tensor Values

💡 Key Concepts

  • RGB: Each pixel has 3 values (Red, Green, Blue)
  • Range: Values from 0-255 (or 0.0-1.0 when normalized)
  • Tensor shape: (Channels, Height, Width) = (3, 8, 8)
  • Batch: Add batch dimension → (B, C, H, W)