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 3232 and features are two-dimensional, the features shape will be (32,2)(32, 2) and the labels shape will be (32,1)(32, 1).

0

1

Updated 2026-05-03

Contributors are:

Who are from:

Tags

D2L

Dive into Deep Learning @ D2L