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

Function CreateOpKernel

tensorflow/core/framework/op_kernel.cc:1474–1481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1472}
1473
1474std::unique_ptr<OpKernel> CreateOpKernel(
1475 DeviceType device_type, DeviceBase* device, Allocator* allocator,
1476 const NodeDef& node_def, int graph_def_version, Status* status) {
1477 OpKernel* kernel = nullptr;
1478 *status = CreateOpKernel(std::move(device_type), device, allocator, nullptr,
1479 node_def, graph_def_version, &kernel);
1480 return std::unique_ptr<OpKernel>(kernel);
1481}
1482
1483Status CreateOpKernel(DeviceType device_type, DeviceBase* device,
1484 Allocator* allocator, FunctionLibraryRuntime* flib,

Callers 15

mainFunction · 0.85
TESTFunction · 0.85
CreateOpMethod · 0.85
ExpectSuccessMethod · 0.85
ExpectFailureMethod · 0.85
TEST_FFunction · 0.85
ExpectSuccessMethod · 0.85
ExpectFailureMethod · 0.85
BM_InputRangeHelperFunction · 0.85
GetFnMethod · 0.85
EvaluateNodeFunction · 0.85

Calls 15

SummarizeNodeDefFunction · 0.85
ValidateNodeDefFunction · 0.85
FindKernelRegistrationFunction · 0.85
AppendToMessageFunction · 0.85
NotFoundFunction · 0.85
DeviceTypeStringFunction · 0.85
FormatNodeDefForErrorFunction · 0.85
SummarizeAttrsFunction · 0.85
KernelsRegisteredForOpFunction · 0.85
InOutTypesForNodeFunction · 0.85
MemoryTypesForNodeFunction · 0.85
LookUpOpDefMethod · 0.80

Tested by 15

mainFunction · 0.68
TESTFunction · 0.68
CreateOpMethod · 0.68
ExpectSuccessMethod · 0.68
ExpectFailureMethod · 0.68
TEST_FFunction · 0.68
ExpectSuccessMethod · 0.68
ExpectFailureMethod · 0.68
BM_InputRangeHelperFunction · 0.68
GetFnMethod · 0.68
GetKernelFunction · 0.68