| 431 | } |
| 432 | |
| 433 | std::string ElmwiseKernel::GetKernelSymbol(TContext* context) const { |
| 434 | std::stringstream ss; |
| 435 | ss << "kernel_elementwise"; |
| 436 | ss << "_" << context->getAttrStr("mode"); |
| 437 | ss << "_" << SymbolHelper::gen_io_str(context); |
| 438 | return ss.str(); |
| 439 | } |
| 440 | |
| 441 | std::string ElmwiseKernel::GetKernelBody(TContext* context) const { |
| 442 | auto op0 = context->getAttrOprand("operand:0"); |
nothing calls this directly
no test coverage detected