Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ReadOnlyMemoryRegion (0.47 sec)

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

                               std::unique_ptr<WritableFile>* result) override;
      Status NewReadOnlyMemoryRegionFromFile(
          const std::string& fname, TransactionToken* token,
          std::unique_ptr<ReadOnlyMemoryRegion>* result) override;
      Status FileExists(const std::string& fname, TransactionToken* token) override;
      bool FilesExist(const std::vector<std::string>& files,
                      TransactionToken* token,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<ReadOnlyMemoryRegion> region;
      Status status = env_->NewReadOnlyMemoryRegionFromFile(filepath, &region);
      EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND);
    }
    
    TEST_P(ModularFileSystemTest, TestCreateMemoryRegionNonExisting) {
      const std::string filepath = GetURIForPath("dir_not_found/a_file");
      std::unique_ptr<ReadOnlyMemoryRegion> region;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

      tf_writable_file::Close(file, status_);
      ASSERT_TF_OK(status_);
      tf_writable_file::Cleanup(file);
      delete file;
    }
    
    TEST_F(GCSFilesystemTest, ReadOnlyMemoryRegion) {
      tf_gcs_filesystem::Init(filesystem_, status_);
      ASSERT_TF_OK(status_) << "Could not initialize filesystem. "
                            << TF_Message(status_);
      std::string path = GetURIForPath("a_file");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 31 12:04:23 UTC 2020
    - 24.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::NewReadOnlyMemoryRegionFromFile(
        const std::string& fname, TransactionToken* token,
        std::unique_ptr<ReadOnlyMemoryRegion>* result) {
      if (ops_->new_read_only_memory_region_from_file == nullptr)
        return errors::Unimplemented(tensorflow::strings::StrCat(
            "Filesystem for ", fname,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// operation pointers may change.
    ///
    /// There are 4 function tables: one for each of the 3 file objects in
    /// TensorFlow (i.e., `RandomAccessFile`, `WritableFile`,
    /// `ReadOnlyMemoryRegion`) and one for all the operations a `Filesystem`
    /// implements. Each of them is in a 1-to-1 correspondence with the wrapper
    /// structures from the first section: these tables only contain function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
Back to top