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

Kursinnehåll

PyTorch Essentials

PyTorch Essentials

1. PyTorch Introduction
2. More Advanced Concepts
3. Neural Networks in PyTorch

book
Challenge: Performing Mathematical Operations

Uppgift

Swipe to start coding

  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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 8
toggle bottom row

book
Challenge: Performing Mathematical Operations

Uppgift

Swipe to start coding

  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.

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 1. Kapitel 8
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt