Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
torch.nn.Unfold accepts 0-dim for batch size (#40689)
Summary: In partial completion of #12013 Allows specifying a tensor with 0-dim batch size for `torch.nn.Unfold()`. Pull Request resolved: #40689 Reviewed By: zou3519 Differential Revision: D24441164 Pulled By: ngimel fbshipit-source-id: 49cd53b9b23f2e221aecdb4b5fed19a234038063
- Loading branch information
1 parent
c57c560
commit 982fa07
Showing
3 changed files
with
21 additions
and
5 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