Course Content
PyTorch Essentials
PyTorch Essentials
Challenge: Performing Mathematical Operations
Task
Swipe to begin your solution
- Compute the sum of each row in the given tensor and retain the dimensions of the output.
- Calculate the mean of each column in the tensor.
- Find the maximum value of each row.
- Normalize the tensor by dividing each element by the overall sum of the tensor.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 8
Challenge: Performing Mathematical Operations
Task
Swipe to begin your solution
- Compute the sum of each row in the given tensor and retain the dimensions of the output.
- Calculate the mean of each column in the tensor.
- Find the maximum value of each row.
- Normalize the tensor by dividing each element by the overall sum of the tensor.
Solution
Switch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?
Thanks for your feedback!
Section 1. Chapter 8
Switch to desktop for real-world practiceContinue from where you are using one of the options below