A digital image is visual data stored as a rank-4 tensor: samples, height, width, and channels. Each sample is a two-dimensional pixel grid, and each pixel contains a vector of channel values. section 2.2.8
Read the four dimensions as:
- Samples: the collection of images being represented. section 2.2.8
- Height and width: the dimensions of each image’s two-dimensional pixel grid. section 2.2.8
- Channels: the vector of values associated with each pixel. section 2.2.8
Figure 2.3 A rank-4 image data tensor
A figure shows how image data forms a rank-4 tensor. section 2.2.8















