- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TF_LoadLibrary (0.11 sec)
-
tensorflow/BUILD
# API) is responsible for registering ops with libtensorflow_framework.so. In # addition to this core set of ops, user libraries which are loaded (via # TF_LoadLibrary/tf.load_op_library) register their ops and kernels with this # shared object directly. # # For example, from Python tf.load_op_library loads a custom op library (via
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Oct 16 05:28:35 UTC 2024 - 53.5K bytes - Viewed (0) -
tensorflow/c/c_api.h
// On success, place OK in status and return the newly created library handle. // The caller owns the library handle. // // On failure, place an error status in status and return NULL. TF_CAPI_EXPORT extern TF_Library* TF_LoadLibrary(const char* library_filename, TF_Status* status); // Get the OpList of OpDefs defined in the library pointed by lib_handle. //
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
target_oper_names[i] = c_target_oper_names[i]; } TF_Run_Helper(s->session, handle, nullptr, input_pairs, output_names, c_outputs, target_oper_names, nullptr, status); } TF_Library* TF_LoadLibrary(const char* library_filename, TF_Status* status) { TF_Library* lib_handle = new TF_Library; status->status = tensorflow::LoadDynamicLibrary( library_filename, &lib_handle->lib_handle, &lib_handle->op_list.data,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
// Load the library. TF_Status* status = TF_NewStatus(); string lib_path = tensorflow::GetDataDependencyFilepath( tensorflow::io::JoinPath("tensorflow", "c", "test_op1.so")); TF_Library* lib = TF_LoadLibrary(lib_path.c_str(), status); TF_Code code = TF_GetCode(status); string status_msg(TF_Message(status)); TF_DeleteStatus(status); ASSERT_EQ(TF_OK, code) << status_msg; // Test op list.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)