namespace
| 32 | } |
| 33 | } // namespace |
| 34 | bool ArgmaxKernel::IsAvailable(TContext* context) const { |
| 35 | bool ok_dtype = context->getAttrOprand("operand:0").dtype == "f32"; |
| 36 | return ok_dtype; |
| 37 | } |
| 38 | //! kernel gen |
| 39 | std::string ArgmaxKernel::GetKernelSymbol(TContext* context) const { |
| 40 | std::stringstream ss; |
nothing calls this directly
no test coverage detected