Softshrink mapping + op (#552)

* Added Softshrink mapping + op

* formatting

* docs + nits in docstring

---------

Co-authored-by: Awni Hannun <awni@apple.com>
This commit is contained in:
Andre Slavescu
2024-01-30 15:56:28 -05:00
committed by GitHub
parent 3f7aba8498
commit d3a9005454
5 changed files with 70 additions and 21 deletions

View File

@@ -19,5 +19,6 @@ simple functions.
prelu
relu
selu
softshrink
silu
step

View File

@@ -33,5 +33,6 @@ Layers
Sequential
SiLU
SinusoidalPositionalEncoding
Softshrink
Step
Transformer