Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RegisterFilesystemPlugin (0.18 sec)

  1. tensorflow/c/c_api.cc

    }
    
    void TF_RegisterFilesystemPlugin(const char* plugin_filename,
                                     TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
          "FileSystem plugin functionality is not supported on mobile");
    #else
      status->status = tensorflow::RegisterFilesystemPlugin(plugin_filename);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      *position = ops_->tell(file_.get(), plugin_status.get());
      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status RegisterFilesystemPlugin(const std::string& dso_path) {
      // Step 1: Load plugin
      Env* env = Env::Default();
      void* dso_handle;
      TF_RETURN_IF_ERROR(env->LoadDynamicLibrary(dso_path.c_str(), &dso_handle));
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

                             ::testing::ValuesIn(GetSchemes()));
    
    // Loads a shared object implementing filesystem functionality.
    static bool LoadDSO(const std::string& dso) {
      tensorflow::Status status = RegisterFilesystemPlugin(dso);
      if (!status.ok())
        VLOG(0) << "Filesystems from '" << dso
                << "' could not be registered: " << status;
      return status.ok();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top