Kursinnehåll
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
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
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