Skip to content

tensor.squeeze() problem #261

Answered by ryan-popa
Istiak665 asked this question in Q&A
Jan 16, 2023 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

squeeze only removes 1 dimension shapes. You shape is 5,4 - there is no 1 size dim to be removed

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Istiak665
Comment options

@mrdbourke
Comment options

Answer selected by mrdbourke
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants