Concept
Image Tensor Dimensions
By convention in deep learning, an image is commonly stored as a tensor, where represents the number of color channels, is the height, and is the width. While grayscale images require only a single channel (), modern color images typically use three channels (red, green, and blue). More complex data, such as hyperspectral imagery, can contain well over separate channels.
0
1
Updated 2026-05-03
Tags
D2L
Dive into Deep Learning @ D2L