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

Function GT

src/core/tensor/tensor_math.h:224–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222/// out[i]=(in[i]>x)?1.f:0.f
223template <typename DType, typename Lang>
224void GT(const Tensor &in, const DType x, Tensor *out, Context *ctx) {
225 LOG_FATAL("GT", DType, Lang);
226}
227/// out[i]=(in[i]>in2[i])?1.f:0.f
228template <typename DType, typename Lang>
229void GT(const Tensor &in, const Tensor &in2, Tensor *out, Context *ctx) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected