kernel gen
| 17 | } |
| 18 | //! kernel gen |
| 19 | std::string IndexingOneHotKernel::GetKernelSymbol(TContext* context) const { |
| 20 | std::stringstream ss; |
| 21 | ss << "kernel_indexingonehot_" << context->getAttrInt("axis") << "_" |
| 22 | << context->getAttrOprand("operand:0").dtype; |
| 23 | return ss.str(); |
| 24 | } |
| 25 | |
| 26 | std::string IndexingOneHotKernel::GetKernelBody(TContext* context) const { |
| 27 | std::stringstream axis_init_ss; |
nothing calls this directly
no test coverage detected