Abschnitt 1. Kapitel 10
single
Challenge: Reshaping Tensors
Swipe um das Menü anzuzeigen
Aufgabe
Wischen, um mit dem Codieren zu beginnen
- Reshape the given tensor (with an initial shape of
3x4) into a2x6tensor. - Create a view of the reshaped tensor as a
4x3tensor. - Use the appropriate method to add a new dimension at the third position (index
2) of the tensor. - Use
squeeze()to remove the added dimension.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 10
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen