Instance
功能说明
获取AI CPU算子Kernel注册类的实例。
函数原型
static CpuKernelRegister &Instance()
参数说明
无
返回值说明
约束说明
无
调用示例
1 2 | std::string op_type = "add"; std::shared_ptr<CpuKernel> kernel = CpuKernelRegister::Instance().GetCpuKernel(op_type); |
父主题: CpuKernelRegister类