Challenge: Preparing the Iris Dataset
Uppgift
Swipe to start coding
- Create a
TensorDataset
. - Wrap the
TensorDataset
in aDataLoader
with a batch size of32
and shuffling enabled.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 6