Challenge: Reshaping Tensors
Compito
Swipe to start coding
- Reshape the given tensor (with an initial shape of
3x4
) into a2x6
tensor. - Create a view of the reshaped tensor as a
4x3
tensor. - 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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 10
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Awesome!
Completion rate improved to 5
Challenge: Reshaping Tensors
Scorri per mostrare il menu
Compito
Swipe to start coding
- Reshape the given tensor (with an initial shape of
3x4
) into a2x6
tensor. - Create a view of the reshaped tensor as a
4x3
tensor. - 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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Awesome!
Completion rate improved to 5Sezione 1. Capitolo 10
single