Skip to content

Make squeeze doc consistent with it's behaviour#9529

Closed
albanD wants to merge 1 commit intopytorch:masterfrom
albanD:fix_squeeze_doc
Closed

Make squeeze doc consistent with it's behaviour#9529
albanD wants to merge 1 commit intopytorch:masterfrom
albanD:fix_squeeze_doc

Conversation

@albanD
Copy link
Collaborator

@albanD albanD commented Jul 18, 2018

A 0-dimensional tensor is now returned when squeezing a tensor with a single element.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@soumith is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@albanD albanD deleted the fix_squeeze_doc branch July 18, 2018 16:07
jramseyer pushed a commit to jramseyer/pytorch that referenced this pull request Jul 30, 2018
Summary:
A 0-dimensional tensor is now returned when squeezing a tensor with a single element.
Pull Request resolved: pytorch#9529

Differential Revision: D8893103

Pulled By: soumith

fbshipit-source-id: 658189ecfff283b2b7281feb16a397692d6dbd8f
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
A 0-dimensional tensor is now returned when squeezing a tensor with a single element.
Pull Request resolved: pytorch#9529

Differential Revision: D8893103

Pulled By: soumith

fbshipit-source-id: 658189ecfff283b2b7281feb16a397692d6dbd8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants