MCPcopy 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
2692def abs(a):
2693 """
2694 Return abs(a), where a is Tensor.
2695 """
2696 return Abs()(a)[0]
2697
2698
2699class Exp(Operator):

Callers

nothing calls this directly

Calls 1

AbsClass · 0.70

Tested by

no test coverage detected