Home
last modified time | relevance | path

Searched refs:lib_handle (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dload_library.py61 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
/external/vulkan-validation-layers/layers/
Dvk_loader_platform.h283 loader_platform_dl_handle lib_handle = LoadLibrary(lib_path); in loader_platform_open_library() local
284 if (lib_handle == NULL && GetLastError() == ERROR_MOD_NOT_FOUND) { in loader_platform_open_library()
286lib_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()
/external/tensorflow/tensorflow/c/
Dc_api.cc978 TF_Library* lib_handle = new TF_Library; in TF_LoadLibrary() local
980 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() argument
991 void TF_DeleteLibraryHandle(TF_Library* lib_handle) { in TF_DeleteLibraryHandle() argument
992 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()
Dc_api_internal.h74 void* lib_handle; member
Dc_api.h1662 TF_CAPI_EXPORT extern TF_Buffer TF_GetOpList(TF_Library* lib_handle);
1666 TF_CAPI_EXPORT extern void TF_DeleteLibraryHandle(TF_Library* lib_handle);