-
Notifications
You must be signed in to change notification settings - Fork 74k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve checks in keras.layers.ReLU #48646
- added checking if negative_slope is None - added checking if threshold is negative - updated respective unit tests - renamed test_threshold_relu_with_invalid_alpha to test_threshold_relu_with_invalid_theta
- Loading branch information
1 parent
787ad8c
commit 73bd1ec
Showing
2 changed files
with
54 additions
and
22 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