Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for new_read_only_memory_region_from_file (0.31 sec)

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

    }
    
    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,
            " does not support NewReadOnlyMemoryRegionFromFile()"));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      ops->filesystem_ops->new_writable_file = tf_posix_filesystem::NewWritableFile;
      ops->filesystem_ops->new_appendable_file =
          tf_posix_filesystem::NewAppendableFile;
      ops->filesystem_ops->new_read_only_memory_region_from_file =
          tf_posix_filesystem::NewReadOnlyMemoryRegionFromFile;
      ops->filesystem_ops->create_dir = tf_posix_filesystem::CreateDir;
      ops->filesystem_ops->delete_file = tf_posix_filesystem::DeleteFile;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 24 20:08:23 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

        return errors::FailedPrecondition(
            "Filesystem allows creation of writable files but no "
            "operations on them have been supplied.");
    
      if (ops->filesystem_ops->new_read_only_memory_region_from_file != nullptr &&
          ops->read_only_memory_region_ops == nullptr)
        return errors::FailedPrecondition(
            "Filesystem allows creation of readonly memory regions but no "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 07 22:08:43 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

      ops->filesystem_ops->new_writable_file = tf_gcs_filesystem::NewWritableFile;
      ops->filesystem_ops->new_appendable_file =
          tf_gcs_filesystem::NewAppendableFile;
      ops->filesystem_ops->new_read_only_memory_region_from_file =
          tf_gcs_filesystem::NewReadOnlyMemoryRegionFromFile;
      ops->filesystem_ops->create_dir = tf_gcs_filesystem::CreateDir;
      ops->filesystem_ops->delete_file = tf_gcs_filesystem::DeleteFile;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ///
      /// REQUIREMENTS: If plugins implement this, they must also provide a filled
      /// `TF_ReadOnlyMemoryRegionOps` table. See "REQUIRED OPERATIONS" above.
      void (*new_read_only_memory_region_from_file)(const TF_Filesystem* filesystem,
                                                    const char* path,
                                                    TF_ReadOnlyMemoryRegion* region,
    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