MCPcopy Create free account
hub / github.com/apache/singa / softsign

Function softsign

python/singa/autograd.py:2916–2920  ·  view source on GitHub ↗

Return `(x/(1+|x|))`, where x is Tensor.

(x)

Source from the content-addressed store, hash-verified

2914
2915
2916def softsign(x):
2917 """
2918 Return `(x/(1+|x|))`, where x is Tensor.
2919 """
2920 return SoftSign()(x)[0]
2921
2922
2923class Sqrt(Operator):

Callers 1

Cuda>Method · 0.85

Calls 1

SoftSignClass · 0.70

Tested by

no test coverage detected