Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SAME padding calc when stride>ksize (#1991)
Adds a failing test case for conv2d ksize=1, stride=2, padding=same, input=4x4 Adds tests convering that case for pooling ops too. There's one test case I found that fails in a different way that I left commented out with R=C=8, K=2, S=4. The error is: F tensorflow/stream_executor/cuda/cuda_dnn.cc:483] could not set cudnn convolution descriptor: CUDNN_STATUS_BAD_PARAM
- Loading branch information
Showing
3 changed files
with
37 additions
and
21 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