Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = sigmoid(x); x is an element of t
(t)
| 987 | |
| 988 | |
| 989 | def 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 | |
| 1000 | def sign(t): |
no test coverage detected