MCPcopy Create free account
hub / github.com/apache/singa / Cpp>

Method Cpp>

src/core/tensor/tensor_math_cpp.h:239–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237
238template <>
239void Abs<float, lang::Cpp>(const Tensor &in, Tensor *out, Context *ctx) {
240 traverse_unary<float>(in, out, [](float x) { return fabs(x); });
241}
242
243template <>
244void Erf<float, lang::Cpp>(const Tensor &in, Tensor *out, Context *ctx) {

Callers

nothing calls this directly

Calls 15

fabsFunction · 0.85
SubColumnFunction · 0.85
SumColumnsFunction · 0.85
DivColumnFunction · 0.85
generate_traversal_infoFunction · 0.85
traverse_nextFunction · 0.85
mutable_dataMethod · 0.80
shapeMethod · 0.80
nDimMethod · 0.80
CopyDataMethod · 0.80
deviceMethod · 0.80

Tested by

no test coverage detected