Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for translate (0.18 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.cc

        return FileSystem::FilesExist(files, token, status);
    
      std::vector<char*> translated_names;
      translated_names.reserve(files.size());
      for (int i = 0; i < files.size(); i++)
        translated_names.push_back(strdup(TranslateName(files[i]).c_str()));
    
      bool result;
      if (status == nullptr) {
        result = ops_->paths_exist(filesystem_.get(), translated_names.data(),
                                   files.size(), nullptr);
      } else {
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

          tf_gcs_filesystem::Cleanup(filesystem_);
        delete filesystem_;
      }
    
      std::string GetURIForPath(absl::string_view path) {
        const std::string translated_name =
            tensorflow::io::JoinPath(root_dir_, path);
        return translated_name;
      }
    
      std::unique_ptr<TF_WritableFile, void (*)(TF_WritableFile* file)>
      GetWriter() {
        std::unique_ptr<TF_WritableFile, void (*)(TF_WritableFile * file)> writer(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::string GetURIForPath(StringPiece path) {
        const std::string translated_name =
            tensorflow::io::JoinPath(root_dir_, path);
        // We have already checked `GetParam().empty()` in
        // `ModularFileSystemTest()`. root_dir_ should contain `GetParam() + "://"`
        // if it isn't empty.
        return translated_name;
      }
    
      // Converts absolute paths to paths relative to root_dir_.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      ops->filesystem_ops->is_directory = tf_gcs_filesystem::IsDirectory;
      ops->filesystem_ops->stat = tf_gcs_filesystem::Stat;
      ops->filesystem_ops->get_children = tf_gcs_filesystem::GetChildren;
      ops->filesystem_ops->translate_name = tf_gcs_filesystem::TranslateName;
      ops->filesystem_ops->flush_caches = tf_gcs_filesystem::FlushCaches;
    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top