• Feed
  • Discussions
unsqueeze

unsqueeze

#unsqueeze
0 followers·1 articles

unsqueeze

#unsqueeze·0 followers·1 articles
unsqueeze
roach
roach
devroach.hashnode.dev·May 11, 2025
May 11, 2025

Torch.unsqueeze and squeeze

torch.unsqueeze 와 torch.squeeze 는 가끔 헷갈리는 개념이다. 머리로는 이해하는 것 같지만 막상 쓰려고 할때 팍 이해가 안가는 느낌이 많이 든다. 그래서 오늘 조금 정리해보려고 한다. Tensor 와 차원(Dimension) Pytorch 에서 Tensor 는 숫자값을 담는 다차원 배열이라고 생각하면 편하다. N 차원 텐서들을 아래와 같은 형태로 정의할 수 있다. zero_dim = torch.tensor(5) one_d...

Discuss·10 reads
squeeze

Changelog

New steps component and improved accessibility on Hashnode's blog and docs product.

New steps component and improved accessibility on Hashnode's blog and docs product.

Nov 05, 2024·
new

Trending Articles

Take the smart step with CryptoXpress

Wissy Ak·65 reads

Web3 for Clean Miles: How Blockchain Rewards Eco-Conscious Drivers in Oone World.

Patience Uyire·59 reads

Solv is Institutionalizing Bitcoin: Real Yield, Real BTC, Real Future

Prochino·31 reads

Top commenters this week

Writing Challenges

#2Articles1Week Challenge

Become better at technical writing; accept Hashnode's writing challenge for four weeks.

#2Articles1Week Challenge
#WomenWhoTech

Share your story, achievements, or experiences as a woman, non-binary folk in tech or as a #WomenWhoTech ally!

#WomenWhoTech
Self Starter

Publish your first article on Hashnode and become a self starter!

Self Starter
Serial Blogger

Publish an article every day for 7 days and earn a cool serial blogger badge!

Serial Blogger
Talk of the town

Write a story that drives amazing engagement on Hashnode and become the talk of the town!

Talk of the town
Word Warrior

Write an in-depth article on your Hashnode blog that's more than 2000 words and become a word warrior!

Word Warrior
Ritesh
Ritesh
alejandro saenz
alejandro saenz
Emily Parker
Emily Parker
Areeba Nishat
Areeba Nishat
Aysha Aboobacker
Aysha Aboobacker