Home
last modified time | relevance | path

Searched refs:kernel_creator (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dcpu_kernel_factory.h40 …(const std::string &kernel_name, const KernelAttr &kernel_attr, CPUKernelCreator &&kernel_creator);
57 …const std::string &kernel_name, const KernelAttr &kernel_attr, CPUKernelCreator &&kernel_creator) { in CPUKernelRegistrar() argument
58 CPUKernelFactory::GetInstance().Register(kernel_name, kernel_attr, std::move(kernel_creator)); in CPUKernelRegistrar()
Dcpu_kernel_factory.cc38 CPUKernelCreator &&kernel_creator) { in Register() argument
39 (void)name_to_attr_creator_[kernel_name].emplace_back(kernel_attr, kernel_creator); in Register()
/third_party/mindspore/mindspore/lite/src/
Dkernel_registry.cc138 auto kernel_creator = GetCreator(key); in SupportKernel() local
139 return kernel_creator != nullptr; in SupportKernel()