| 63 | } |
| 64 | |
| 65 | std::string ElemwiseMultiTypeKernel::GetKernelSymbol(TContext* context) const { |
| 66 | std::stringstream ss; |
| 67 | ss << "kernel_elementwise_multitype"; |
| 68 | ss << "_" << context->getAttrStr("mode"); |
| 69 | ss << "_" << SymbolHelper::gen_io_str(context); |
| 70 | return ss.str(); |
| 71 | } |
| 72 | |
| 73 | std::string ElemwiseMultiTypeKernel::GetKernelBody(TContext* context) const { |
| 74 | auto mode = context->getAttrStr("mode"); |
nothing calls this directly
no test coverage detected