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

Function Sigmoid

src/core/tensor/tensor_math.h:267–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265/// out[i]=sigmoid(in[i])
266template <typename DType, typename Lang>
267void Sigmoid(const Tensor &in, Tensor *out, Context *ctx) {
268 LOG_FATAL("Sigmoid", DType, Lang);
269}
270
271/// out[i] = log(exp(in[i]) + 1)
272template <typename DType, typename Lang>

Callers 1

ForwardMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected