MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / KernelRegistration

Class KernelRegistration

tensorflow/core/framework/op_kernel.cc:1059–1067  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1057// OpKernel registration ------------------------------------------------------
1058
1059struct KernelRegistration {
1060 KernelRegistration(const KernelDef& d, StringPiece c,
1061 std::unique_ptr<kernel_factory::OpKernelFactory> f)
1062 : def(d), kernel_class_name(c), factory(std::move(f)) {}
1063
1064 const KernelDef def;
1065 const string kernel_class_name;
1066 std::unique_ptr<kernel_factory::OpKernelFactory> factory;
1067};
1068
1069// This maps from 'op_type' + DeviceType to the set of KernelDefs and
1070// factory functions for instantiating the OpKernel that matches the

Callers 1

InitInternalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected