Challenge: Reshaping Tensors
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 10
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 5
Challenge: Reshaping Tensors
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Awesome!
Completion rate improved to 5Osio 1. Luku 10
single