api
api
/
org.diffkt
/
sigmoid
sigmoid
fun
sigmoid
(
x
:
DScalar
)
:
DScalar
Content copied to clipboard
fun
sigmoid
(
x
:
DTensor
)
:
DTensor
Content copied to clipboard
Returns
x
with the sigmoid activation unit applied (1 / (1 + exp(-x))