Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RegisterFilesystemPlugin (0.59 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_registration.h

    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace filesystem_registration {
    
    // Implementation for filesystem registration
    //
    // Don't call this directly. Instead call `RegisterFilesystemPlugin`.
    // Exposed only for static registration of local filesystems.
    Status RegisterFilesystemPluginImpl(const TF_FilesystemPluginInfo* info);
    
    }  // namespace filesystem_registration
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.h

      void operator=(const ModularReadOnlyMemoryRegion&) = delete;
    };
    
    // Registers a filesystem plugin so that core TensorFlow can use it.
    Status RegisterFilesystemPlugin(const std::string& dso_path);
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/c_api.h

    // Register a FileSystem plugin from filename `plugin_filename`.
    //
    // On success, place OK in status.
    // On failure, place an error status in status.
    TF_CAPI_EXPORT extern void TF_RegisterFilesystemPlugin(
        const char* plugin_filename, TF_Status* status);
    
    // Apis that are corresponding to python c api. --------------------
    
    // Add control input to `op`.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top