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

Svep för att visa menyn

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
Vi beklagar att något gick fel. Vad hände?

Fråga AI

expand
ChatGPT

Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal

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