Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/framework/
Dload_library.py54 lib_handle = py_tf.TF_LoadLibrary(library_filename)
57 py_tf.TF_GetOpList(lib_handle))
61 py_tf.TF_DeleteLibraryHandle(lib_handle)
/external/tensorflow/tensorflow/c/
Dc_api_experimental.cc732 TF_Library* lib_handle = new TF_Library; in TF_LoadPluggableDeviceLibrary()
741 lib_handle->lib_handle = it->second; in TF_LoadPluggableDeviceLibrary()
744 env->LoadDynamicLibrary(library_filename, &lib_handle->lib_handle); in TF_LoadPluggableDeviceLibrary()
747 tensorflow::RegisterPluggableDevicePlugin(lib_handle->lib_handle)); in TF_LoadPluggableDeviceLibrary()
749 delete lib_handle; in TF_LoadPluggableDeviceLibrary()
753 return lib_handle; in TF_LoadPluggableDeviceLibrary()
758 void TF_DeletePluggableDeviceLibraryHandle(TF_Library* lib_handle) { in TF_DeletePluggableDeviceLibraryHandle() argument
759 delete lib_handle; in TF_DeletePluggableDeviceLibraryHandle()
Dc_api.cc554 TF_Library* lib_handle = new TF_Library; in TF_LoadLibrary() local
556 library_filename, &lib_handle->lib_handle, &lib_handle->op_list.data, in TF_LoadLibrary()
557 &lib_handle->op_list.length); in TF_LoadLibrary()
559 delete lib_handle; in TF_LoadLibrary()
562 return lib_handle; in TF_LoadLibrary()
565 TF_Buffer TF_GetOpList(TF_Library* lib_handle) { return lib_handle->op_list; } in TF_GetOpList() argument
567 void TF_DeleteLibraryHandle(TF_Library* lib_handle) { in TF_DeleteLibraryHandle() argument
568 if (lib_handle == nullptr) return; in TF_DeleteLibraryHandle()
569 tensorflow::port::Free(const_cast<void*>(lib_handle->op_list.data)); in TF_DeleteLibraryHandle()
570 delete lib_handle; in TF_DeleteLibraryHandle()
Dc_api_internal.h66 void* lib_handle; member
Dc_api_experimental.h330 TF_Library* lib_handle);
Dc_api.h1473 TF_CAPI_EXPORT extern TF_Buffer TF_GetOpList(TF_Library* lib_handle);
1477 TF_CAPI_EXPORT extern void TF_DeleteLibraryHandle(TF_Library* 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/python/client/
Dtf_session_wrapper.cc752 m.def("TF_GetOpList", [](TF_Library* lib_handle) { in PYBIND11_MODULE() argument
753 TF_Buffer output_buffer = TF_GetOpList(lib_handle); in PYBIND11_MODULE()