Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = abs(x), x is an element of t
(t)
| 908 | |
| 909 | |
| 910 | def abs(t): |
| 911 | ''' |
| 912 | Args: |
| 913 | t (Tensor): input Tensor |
| 914 | |
| 915 | Returns: |
| 916 | a new Tensor whose element y = abs(x), x is an element of t |
| 917 | ''' |
| 918 | return _call_singa_func(singa.Abs, t.data) |
| 919 | |
| 920 | |
| 921 | def exp(t): |
no test coverage detected