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

Function Asum

src/core/tensor/tensor_math.h:388–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386/// out = sum |x| for all x in in
387template <typename DType, typename Lang>
388void Asum(const Tensor &in, DType *out, Context *ctx) {
389 LOG_FATAL("Asum", DType, Lang);
390}
391
392/// out = alpha * in + out
393template <typename DType, typename Lang>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected