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

Function GE

src/core/tensor/tensor_math.h:214–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212/// out[i]=(in[i]>=x)?1.f:0.f
213template <typename DType, typename Lang>
214void GE(const Tensor &in, const DType x, Tensor *out, Context *ctx) {
215 LOG_FATAL("GE", DType, Lang);
216}
217/// out[i]=(in1[i]>=in2[i])?1.f:0.f
218template <typename DType, typename Lang>
219void GE(const Tensor &in1, const Tensor &in2, Tensor *out, Context *ctx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected