Learn Before
Concept
Inspecting Data Minibatches
Inspecting a minibatch of data provides intuition about its structure. Each minibatch of features has a shape determined by the batch size and the dimensionality of the input features. Similarly, the corresponding minibatch of labels will have a matching shape given by the batch size. For instance, if the batch size is and features are two-dimensional, the features shape will be and the labels shape will be .
0
1
Updated 2026-05-03
Tags
D2L
Dive into Deep Learning @ D2L