Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Learn Challenge: Performing Mathematical Operations | PyTorch Basics
PyTorch Essentials
course content

Course Content

PyTorch Essentials

PyTorch Essentials

1. PyTorch Basics
2. Preparing for Neural Networks
3. Neural Networks

book
Challenge: Performing Mathematical Operations

Task
test

Swipe to begin your solution

  1. Compute the sum of each row in the given tensor and retain the dimensions of the output.
  2. Calculate the mean of each column in the tensor.
  3. Find the maximum value of each row.
  4. Normalize the tensor by dividing each element by the overall sum of the tensor.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 8
toggle bottom row

book
Challenge: Performing Mathematical Operations

Task
test

Swipe to begin your solution

  1. Compute the sum of each row in the given tensor and retain the dimensions of the output.
  2. Calculate the mean of each column in the tensor.
  3. Find the maximum value of each row.
  4. Normalize the tensor by dividing each element by the overall sum of the tensor.

Solution

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 8
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt