Challenge: Performing Mathematical Operations
Tarea
Swipe to start coding
- 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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 8