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

Function TF_GetRegisteredKernelsForOp

tensorflow/c/c_api.cc:2466–2476  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2464}
2465
2466TF_Buffer* TF_GetRegisteredKernelsForOp(const char* name, TF_Status* status) {
2467 tensorflow::KernelList kernel_list =
2468 tensorflow::GetRegisteredKernelsForOp(name);
2469 TF_Buffer* ret = TF_NewBuffer();
2470 status->status = MessageToBuffer(kernel_list, ret);
2471 if (TF_GetCode(status) != TF_OK) {
2472 TF_DeleteBuffer(ret);
2473 return nullptr;
2474 }
2475 return ret;
2476}
2477
2478// TF_Server functions ----------------------------------------------
2479

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls 5

TF_NewBufferFunction · 0.85
MessageToBufferFunction · 0.85
TF_GetCodeFunction · 0.85
TF_DeleteBufferFunction · 0.85

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68