Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Scaled Exponential Linear Unit activation (#6924)
* add Scaled Exponential Linear Unit activation * selu: hardcode alpha and scale variable * add AlphaDropout (from SELU), K.floor backend function, and tests * move AlphaDropout from core layers to noise layers * fix pep8 and tensorflow backend failure * undo add (delete) K.floor on backends * undo add (delete): selu in check_single_tensor_operation * [skip ci] edit docstring remove `alpha` and `scale` from docstring * add(initializers): selu_normal * fix: use 'q' instead of 'rate' * [skip ci] update comment * feat(AlphaDropout): add 'noise_shape' param back * add SpatialAlphaDropout1D layer * [skip ci] update comment * [skip ci] remove unnecessary check * update equation * remove spatialalphadropout test * fix(AlphaDropout): add get_config method * [skip ci] s/selu_normal/lecun_normal * [skip ci] fix docstring to LeCun normal init
- Loading branch information
1 parent
4a6f06f
commit 21cf507
Showing
6 changed files
with
146 additions
and
1 deletion.
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