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

Function Set

src/core/tensor/tensor_math.h:262–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260/// out[i] = x
261template <typename DType, typename Lang>
262void Set(const DType x, Tensor *out, Context *ctx) {
263 LOG_FATAL("Set", DType, Lang);
264}
265/// out[i]=sigmoid(in[i])
266template <typename DType, typename Lang>
267void Sigmoid(const Tensor &in, Tensor *out, Context *ctx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected