-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reconcile Dim4D and NchwDim into DimIndex (#3489)
Summary: Pull Request resolved: #3489 1. Adapt SS-JIA's idea to represent `Dim4D` as a "negative index", and rename it as `DimIndex` 2. Merge `NchwDim`'s functionality with `Dim4D`. 3. Clean up `dim_at` call to assume only `DimIndex` as input. 4. Further clean up some usage of `uint` and convert them into `int`. ghstack-source-id: 225521662 Reviewed By: SS-JIA Differential Revision: D56778340 fbshipit-source-id: 68e1fd7d74b59fb89299123263009be096dd5c18
- Loading branch information
1 parent
bd6cbc4
commit 251aa74
Showing
10 changed files
with
134 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.