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

Function CreateNonCachedKernel

tensorflow/core/common_runtime/executor.cc:1777–1784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1775}
1776
1777Status CreateNonCachedKernel(Device* device, FunctionLibraryRuntime* flib,
1778 const NodeDef& ndef, int graph_def_version,
1779 OpKernel** kernel) {
1780 const auto device_type = DeviceType(device->attributes().device_type());
1781 auto allocator = device->GetAllocator(AllocatorAttributes());
1782 return CreateOpKernel(device_type, device, allocator, flib, ndef,
1783 graph_def_version, kernel);
1784}
1785
1786void DeleteNonCachedKernel(OpKernel* kernel) { delete kernel; }
1787

Callers 7

RunMethod · 0.85
CreateMethod · 0.85
BenchmarkMethod · 0.85
CreateMethod · 0.85
CreateKernelMethod · 0.85
RunFunctionMethod · 0.85
CreateMethod · 0.85

Calls 5

DeviceTypeClass · 0.85
AllocatorAttributesClass · 0.85
CreateOpKernelFunction · 0.85
device_typeMethod · 0.45
GetAllocatorMethod · 0.45

Tested by 5

CreateMethod · 0.68
BenchmarkMethod · 0.68
CreateMethod · 0.68
RunFunctionMethod · 0.68
CreateMethod · 0.68