Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for library_filename (0.14 sec)

  1. tensorflow/c/env.cc

      delete reinterpret_cast<::tensorflow::Thread*>(thread);
    }
    
    void* TF_LoadSharedLibrary(const char* library_filename, TF_Status* status) {
      void* handle = nullptr;
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(
          status, ::tensorflow::Env::Default()->LoadDynamicLibrary(library_filename,
                                                                   &handle));
      return handle;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

    // function. Otherwise return nullptr in result and error Status from the
    // 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) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/env.h

    // Waits for the given thread to finish execution, then deletes it.
    TF_CAPI_EXPORT extern void TF_JoinThread(TF_Thread* thread);
    
    // \brief Load a dynamic library.
    //
    // Pass "library_filename" to a platform-specific mechanism for dynamically
    // loading a library. The rules for determining the exact location of the
    // library are platform-specific and are not documented here.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.h

        TF_ImportGraphDefOptions* opts, unsigned char enable);
    
    // Load the library specified by library_filename and register the pluggable
    // device and related kernels present in that library. This function is not
    // supported on embedded on mobile and embedded platforms and will fail if
    // called.
    //
    // Pass "library_filename" to a platform-specific mechanism for dynamically
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

      void SchedClosureAfter(int64_t micros,
                             absl::AnyInvocable<void()> closure) override {}
    
      absl::Status LoadDynamicLibrary(const char* library_filename,
                                      void** handle) override {
        return absl::OkStatus();
      }
    
      absl::Status GetSymbolFromLibrary(void* handle, const char* symbol_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    // TF_Library holds information about dynamically loaded TensorFlow plugins.
    typedef struct TF_Library TF_Library;
    
    // Load the library specified by library_filename and register the ops and
    // kernels present in that library.
    //
    // Pass "library_filename" to a platform-specific mechanism for dynamically
    // loading a library. The rules for determining the exact location of the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

                    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,
          &lib_handle->op_list.length);
      if (!status->status.ok()) {
        delete lib_handle;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top