Kursusindhold
PyTorch Essentials
PyTorch Essentials
1. PyTorch Introduction
What is PyTorch?Introduction to TensorsTensor Creation FunctionsChallenge: Initializing TensorsCreating Random TensorsChallenge: Initializing Model Weights and BiasesMathematical Operations with TensorsChallenge: Performing Mathematical OperationsShapes and Dimensions in PyTorchChallenge: Reshaping Tensors
3. Neural Networks in PyTorch
Challenge: Preparing the Iris Dataset
Opgave
Swipe to start coding
- Create a
TensorDataset
. - Wrap the
TensorDataset
in aDataLoader
with a batch size of32
and shuffling enabled.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 6
Challenge: Preparing the Iris Dataset
Opgave
Swipe to start coding
- Create a
TensorDataset
. - Wrap the
TensorDataset
in aDataLoader
with a batch size of32
and shuffling enabled.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 6