Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = sqrt(x), x is an element of t
(t)
| 974 | |
| 975 | |
| 976 | def sqrt(t): |
| 977 | ''' |
| 978 | Args: |
| 979 | t (Tensor): input Tensor |
| 980 | |
| 981 | Returns: |
| 982 | a new Tensor whose element y = sqrt(x), x is an element of t |
| 983 | ''' |
| 984 | return _call_singa_func(singa.Sqrt, t.data) |
| 985 | |
| 986 | |
| 987 | def square(t): |
no test coverage detected