Skip to content

generalize order switch ops for 1-3d#10395

Closed
jspark1105 wants to merge 2 commits intopytorch:masterfrom
jspark1105:export-D9261177
Closed

generalize order switch ops for 1-3d#10395
jspark1105 wants to merge 2 commits intopytorch:masterfrom
jspark1105:export-D9261177

Conversation

@jspark1105
Copy link
Contributor

Summary:
Order switch ops (NCHW2NHWC and NHWC2NCHW) were only supporting 2D images.
This diff generalizes them to 1D and 3D, and also add a unit test we didn't have.

Differential Revision: D9261177

Differential Revision: D9176314

fbshipit-source-id: e91f21f249042c9de4ea052e3eb3b8d64c002120
Summary:
Pull Request resolved: pytorch#10395

Order switch ops (NCHW2NHWC and NHWC2NCHW) were only supporting 2D images.
This diff generalizes them to 1D and 3D, and also add a unit test we didn't have.

Reviewed By: protonu

Differential Revision: D9261177

fbshipit-source-id: c6831c429cd12af8a3a62425e2d049ae8bc5275b
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary:
Pull Request resolved: pytorch#10395

Order switch ops (NCHW2NHWC and NHWC2NCHW) were only supporting 2D images.
This diff generalizes them to 1D and 3D, and also add a unit test we didn't have.

Reviewed By: protonu

Differential Revision: D9261177

fbshipit-source-id: 56e7ec54c9a8fb71781ac1336f3f28cf024b4bda
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants