Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Scheme (0.19 sec)

  1. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

      TF_SetFilesystemVersionMetadata(ops);
      ops->scheme = strdup(uri);
    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
      info->plugin_memory_free = plugin_memory_free;
      info->num_schemes = 2;
      info->ops = static_cast<TF_FilesystemPluginOps*>(
          plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0])));
      ProvideFilesystemSupportFor(&info->ops[0], "");
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

                "adding the nodes to the graph. This is a bug. Please file an "
                "issue at https://github.com/tensorflow/tensorflow/issues.");
            return;
          }
          // We have a convoluted scheme here: Using the C++ graph construction API
          // to add potentially many nodes to the graph without running the checks
          // (such as uniqueness of the names of nodes) we run with other functions
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

    namespace tensorflow {
    
    // Checks that all schemes provided by a plugin are valid.
    // TODO(b/139060984): More validation could be done here, based on supported
    // charset, maximum length, etc. Punting it for later.
    static Status ValidateScheme(const char* scheme) {
      if (scheme == nullptr)
        return errors::InvalidArgument(
            "Attempted to register filesystem with `nullptr` URI scheme");
      return OkStatus();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

          tensorflow::Env::Default()->GetRegisteredFileSystemSchemes(all_schemes);
    
      if (status.ok()) {
        std::vector<std::string>* user_schemes = SchemeVector();
        if (!user_schemes->empty()) {
          auto is_requested_scheme = [user_schemes](const auto& scheme) {
            return std::find(user_schemes->begin(), user_schemes->end(), scheme) ==
                   user_schemes->end();
          };
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
      info->plugin_memory_free = plugin_memory_free;
      info->num_schemes = 2;
      info->ops = static_cast<TF_FilesystemPluginOps*>(
          plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0])));
      ProvideFilesystemSupportFor(&info->ops[0], "");
      ProvideFilesystemSupportFor(&info->ops[1], "file");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                      std::string* bucket, std::string* object, TF_Status* status) {
      size_t scheme_end = fname.find("://") + 2;
      if (fname.substr(0, scheme_end + 1) != "gs://") {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
                     "GCS path doesn't start with 'gs://'.");
        return;
      }
    
      size_t bucket_end = fname.find('/', scheme_end + 1);
      if (bucket_end == std::string::npos) {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top