| 222 | /// out[i]=(in[i]>x)?1.f:0.f |
| 223 | template <typename DType, typename Lang> |
| 224 | void 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 |
| 228 | template <typename DType, typename Lang> |
| 229 | void GT(const Tensor &in, const Tensor &in2, Tensor *out, Context *ctx) { |
nothing calls this directly
no outgoing calls
no test coverage detected