Cursusinhoud
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: Initializing Tensors
Taak
Swipe to start coding
- Create a
2x3
tensor filled with zeros using the appropriate creation function. - Create a 1D tensor with integer values from
1
to10
inclusive (11
exclusive) using the appropriate creation function. - Create a 1D tensor with
10
evenly spaced values between2
and4
inclusive using the appropriate creation function.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4
Challenge: Initializing Tensors
Taak
Swipe to start coding
- Create a
2x3
tensor filled with zeros using the appropriate creation function. - Create a 1D tensor with integer values from
1
to10
inclusive (11
exclusive) using the appropriate creation function. - Create a 1D tensor with
10
evenly spaced values between2
and4
inclusive using the appropriate creation function.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 4