MCPcopy Create free account
hub / github.com/apache/singa / Abs

Function Abs

src/core/tensor/tensor_math.h:88–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86/// out[i] = |in[i]|
87template <typename DType, typename Lang>
88void Abs(const Tensor &in, Tensor *out, Context *ctx) {
89 LOG_FATAL("Abs", DType, Lang);
90}
91
92template <typename DType, typename Lang>
93void Erf(const Tensor &in, Tensor *out, Context *ctx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected