forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Python IndexError of case7: paddle.static.nn.spectral_norm (Paddl…
…ePaddle#49988) * add dim check for spectral_norm * add unittest out of range for spectral_norm * use ValueError when dim out of range for spectral_norm * update dim limit and add unittest for spectral_norm
- Loading branch information
1 parent
b3d98c6
commit d4139e6
Showing
2 changed files
with
24 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