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

Function LT

src/core/tensor/tensor_math.h:204–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202/// out[i]=(in[i]<x)?1.f:0.f
203template <typename DType, typename Lang>
204void LT(const Tensor &in, const DType x, Tensor *out, Context *ctx) {
205 LOG_FATAL("LT", DType, Lang);
206}
207/// out[i]=(in1[i]<in2[i])?1.f:0.f
208template <typename DType, typename Lang>
209void LT(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