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

Function sigmoid

python/singa/tensor.py:989–997  ·  view source on GitHub ↗

Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = sigmoid(x); x is an element of t

(t)

Source from the content-addressed store, hash-verified

987
988
989def sigmoid(t):
990 '''
991 Args:
992 t (Tensor): input Tensor
993
994 Returns:
995 a new Tensor whose element y = sigmoid(x); x is an element of t
996 '''
997 return _call_singa_func(singa.Sigmoid, t.data)
998
999
1000def sign(t):

Callers 1

Cuda>Method · 0.50

Calls 1

_call_singa_funcFunction · 0.70

Tested by

no test coverage detected