Searched refs:lib_handle (Results 1 – 5 of 5) sorted by relevance
61 lib_handle = py_tf.TF_LoadLibrary(library_filename)63 op_list_str = py_tf.TF_GetOpList(lib_handle)70 py_tf.TF_DeleteLibraryHandle(lib_handle)80 module.LIB_HANDLE = lib_handle
283 loader_platform_dl_handle lib_handle = LoadLibrary(lib_path); in loader_platform_open_library() local284 if (lib_handle == NULL && GetLastError() == ERROR_MOD_NOT_FOUND) { in loader_platform_open_library()286 …lib_handle = LoadLibraryEx(lib_path, NULL, LOAD_LIBRARY_SEARCH_DEFAULT_DIRS | LOAD_LIBRARY_SEARCH_… in loader_platform_open_library()288 return lib_handle; in loader_platform_open_library()
978 TF_Library* lib_handle = new TF_Library; in TF_LoadLibrary() local980 library_filename, &lib_handle->lib_handle, &lib_handle->op_list.data, in TF_LoadLibrary()981 &lib_handle->op_list.length); in TF_LoadLibrary()983 delete lib_handle; in TF_LoadLibrary()986 return lib_handle; in TF_LoadLibrary()989 TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; } in TF_GetOpList() argument991 void TF_DeleteLibraryHandle(TF_Library* lib_handle) { in TF_DeleteLibraryHandle() argument992 if (lib_handle == nullptr) return; in TF_DeleteLibraryHandle()993 tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data)); in TF_DeleteLibraryHandle()994 delete lib_handle; in TF_DeleteLibraryHandle()
74 void* lib_handle; member
1662 TF_CAPI_EXPORT extern TF_Buffer TF_GetOpList(TF_Library* lib_handle);1666 TF_CAPI_EXPORT extern void TF_DeleteLibraryHandle(TF_Library* lib_handle);