Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Transfer (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.cc

      //   If file exists, truncate its size to 0.
      int dst_fd = open(dst, O_WRONLY | O_CREAT | O_TRUNC, open_mode);
      if (dst_fd < 0) {
        close(src_fd);
        return -1;
      }
    
      // Both files have been opened, do the transfer.
      // Since errno would be overridden by `close` below, save it here.
      int error_code = 0;
      if (CopyFileContents(dst_fd, src_fd, size) < 0) error_code = errno;
    
      close(src_fd);
      close(dst_fd);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jan 16 05:36:52 GMT 2020
    - 2.1K bytes
    - Viewed (1)
  2. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc

    #include <stdint.h>
    #include <unistd.h>
    
    #include <memory>
    
    #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h"
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses a temporary buffer to hold contents.
    int CopyFileContents(int dst_fd, int src_fd, off_t size) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.9K bytes
    - Viewed (0)
  3. ci/official/README.md

    #   will need to run `docker exec tf pkill bazel` to quit bazel.
    #
    #   Note: new files created from the container are owned by "root".
    #   You can run e.g. `docker exec tf chown -R $(id -u):$(id -g) build_output`
    #   to transfer ownership to your user.
    #
    # Docker is enabled by default on Linux. You may disable it if you prefer:
    # export TFCI=py311,linux_x86,no_docker
    
    # Advanced: Use Remote Build Execution (RBE) (internal developers only)
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  4. LICENSE

          worldwide, non-exclusive, no-charge, royalty-free, irrevocable
          (except as stated in this section) patent license to make, have made,
          use, offer to sell, sell, import, and otherwise transfer the Work,
          where such license applies only to those patent claims licensable
          by such Contributor that are necessarily infringed by their
          Contribution(s) alone or by combination of their Contribution(s)
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Nov 29 17:31:56 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_context.h

      // Configure graph collection in RunMetadata.
      virtual void SetShouldStoreGraphs(bool value) = 0;
    
      // Return the collected RunMetadata. This method will transfer the ownership
      // to the caller.
      virtual std::unique_ptr<RunMetadata> ExportRunMetadata() = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  6. .bazelrc

    build:rbe_base --remote_executor=grpcs://remotebuildexecution.googleapis.com
    build:rbe_base --remote_timeout=3600
    build:rbe_base --spawn_strategy=remote,worker,standalone,local
    # Attempt to minimize the amount of data transfer between bazel and the remote
    # workers:
    build:rbe_base --remote_download_toplevel
    test:rbe_base --test_env=USER=anon
    
    # TODO(kanglan): Check if we want to merge rbe_linux into rbe_linux_cpu.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 23 01:21:54 GMT 2024
    - 53.4K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///   * `TF_InitPlugin` function: must be present in the plugin shared object as
    ///     it will be called by core TensorFlow when the filesystem plugin is
    ///     loaded;
    ///   * `TF_FilesystemPluginOps` struct: used to transfer information between
    ///     plugins and core TensorFlow about the operations provided and metadata;
    ///   * `TF_FilesystemPluginInfo` struct: similar to the above structure, but
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/posix/copy_file_linux.cc

    #include <limits.h>
    #include <stdint.h>
    #include <sys/sendfile.h>
    
    #include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h"
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` specific to linux after 2.6.33.
    int CopyFileContents(int dst_fd, int src_fd, off_t size) {
      off_t offset = 0;
      int bytes_transferred = 0;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  9. RELEASE.md

        distributing datasets. For this to work, the dispatcher's `work_dir` must be
        accessible from workers. If the worker fails to read from the `work_dir`, it
        falls back to using RPC for dataset graph transfer.
    *   Adds support for a new "distributed_epoch" processing mode. This processing
        mode distributes a dataset across all tf.data workers, instead of having
        each worker process the full dataset. See
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  10. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    
    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
Back to top