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

Function TF_DeleteLibraryHandle

tensorflow/c/c_api.cc:567–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; }
566
567void TF_DeleteLibraryHandle(TF_Library* lib_handle) {
568 if (lib_handle == nullptr) return;
569 tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data));
570 delete lib_handle;
571}
572
573TF_Buffer* TF_GetAllOpList() {
574 std::vector<tensorflow::OpDef> op_defs;

Callers 2

TESTFunction · 0.85

Calls 1

FreeFunction · 0.50

Tested by 1

TESTFunction · 0.68