Video data represents each example as a sequence of image frames. A batch is stored as a rank-5 tensor with shape (samples, frames, height, width, channels). section 2.2.8
Representing a batch of videos
For a batch of video clips, read the axes as follows: samples selects the clip, frames selects an image within it, height and width locate pixels, and channels store each pixel’s values. section 2.2.8
Use this rule of thumb:
- Images use rank-4 tensors: (samples, height, width, channels); video adds a frames axis. section 2.2.8




