Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ abs
Function
abs
python/singa/autograd.py:2692–2696 ·
view source on GitHub ↗
Return abs(a), where a is Tensor.
(a)
Source
from the content-addressed store, hash-verified
2690
2691
2692
def
abs(a):
2693
""
"
2694
Return abs(a), where a is Tensor.
2695
""
"
2696
return
Abs()(a)[0]
2697
2698
2699
class
Exp(Operator):
Callers
nothing calls this directly
Calls
1
Abs
Class · 0.70
Tested by
no test coverage detected