Challenge: Preparing the Iris Dataset
Task
Swipe to start coding
- Create a
TensorDataset
. - Wrap the
TensorDataset
in aDataLoader
with a batch size of32
and shuffling enabled.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 2. ChapterΒ 6