| 232 | /// out[i]=(in[i]==x)?1.f:0.f |
| 233 | template <typename DType, typename Lang> |
| 234 | void EQ(const Tensor &in, const DType x, Tensor *out, Context *ctx) { |
| 235 | LOG_FATAL("EQ", DType, Lang); |
| 236 | } |
| 237 | /// out[i]=(in[i]==in2[i])?1.f:0.f |
| 238 | template <typename DType, typename Lang> |
| 239 | void EQ(const Tensor &in, const Tensor &in2, Tensor *out, Context *ctx) { |
nothing calls this directly
no outgoing calls
no test coverage detected