Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_LoadPluggableDeviceLibrary (0.14 sec)

  1. tensorflow/c/c_api_experimental_test.cc

          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
              "tensorflow", "c", "experimental", "stream_executor", "test",
              "test_pluggable_device.so"));
      TF_Library* lib = TF_LoadPluggableDeviceLibrary(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;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.h

    // The caller owns the library handle.
    //
    // On failure, returns nullptr and places an error status in status.
    TF_CAPI_EXPORT extern TF_Library* TF_LoadPluggableDeviceLibrary(
        const char* library_filename, TF_Status* status);
    
    // Frees the memory associated with the library handle.
    // Does NOT unload the library.
    TF_CAPI_EXPORT extern void TF_DeletePluggableDeviceLibraryHandle(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

    // function.
    //
    // If `library_filename` has already been loaded, we return a cached handle.
    // Device and Kernels/Ops are registered as globals when a library is loaded
    // for the first time.
    TF_Library* TF_LoadPluggableDeviceLibrary(const char* library_filename,
                                              TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top