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

Function LogAllRegisteredKernels

tensorflow/core/framework/op_kernel.cc:1424–1429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1422}
1423
1424void LogAllRegisteredKernels() {
1425 KernelList kernel_list = GetAllRegisteredKernels();
1426 for (const auto& kernel_def : kernel_list.kernel()) {
1427 LOG(INFO) << "OpKernel ('" << ProtoShortDebugString(kernel_def) << "')";
1428 }
1429}
1430
1431KernelList GetAllRegisteredKernels() {
1432 return GetFilteredRegisteredKernels([](const KernelDef& k) { return true; });

Callers 1

TESTFunction · 0.85

Calls 2

GetAllRegisteredKernelsFunction · 0.85
kernelMethod · 0.45

Tested by 1

TESTFunction · 0.68