Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for Time (0.18 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // Execute the first read to load the block.
      TF_EXPECT_OK(ReadCache(&cache1, "", 0, 1, &out));
      EXPECT_EQ(calls, 1);
      // Now advance the clock one second at a time and redo the read. The call
      // count should advance every 3 seconds (i.e. every time the staleness is
      // greater than 2).
      for (int i = 1; i <= 10; i++) {
        env->SetNowSeconds(i + 1);
        TF_EXPECT_OK(ReadCache(&cache1, "", 0, 1, &out));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      size_t finish = block_size_ * ((offset + n) / block_size_);
      if (finish < offset + n) {
        finish += block_size_;
      }
      size_t total_bytes_transferred = 0;
      // Now iterate through the blocks, reading them one at a time.
      for (size_t pos = start; pos < finish; pos += block_size_) {
        Key key = std::make_pair(filename, pos);
        // Look up the block, fetching and inserting it if necessary, and update the
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        } else {
          // In async mode we expect forwarding to work without releasing the input
          // handle since by the time the kernel is executed we have released the
          // handle in the client code.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        }
      } else {
        if (forward_input) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. tensorflow/c/c_test.c

      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
        fprintf(stderr, "TF_GetLocalTempDirectories returned no results\n");
        return 1;
      }
    
      char file_name[100];
      time_t t = time(NULL);
      snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t);
    
      size_t length = 2 + strlen(path) + strlen(file_name);
      char* full_path = malloc(length);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h

    // that provides the filesystem functionality. However, the POSIX filesystem
    // needs to be statically registered in some tests and utilities for building
    // the API files at the time of creating the pip package. Hence, we need to
    // expose this function so that this filesystem can be statically registered
    // when needed.
    void TF_InitPlugin(TF_FilesystemPluginInfo* info);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_GCS_HELPER_H_
    
    #include <fstream>
    #include <string>
    
    class TempFile : public std::fstream {
     public:
      // We should specify openmode each time we call TempFile.
      TempFile(const std::string& temp_file_name, std::ios::openmode mode);
      TempFile(TempFile&& rhs);
      ~TempFile() override;
      const std::string getName() const;
      bool truncate();
    
     private:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/rename_and_verify_wheels.sh

    # Check and rename wheels with auditwheel. Inserts the platform tags like
    # "manylinux_xyz" into the wheel filename.
    set -euxo pipefail
    
    for wheel in /tf/pkg/*.whl; do
      echo "Checking and renaming $wheel..."
      time python3 -m auditwheel repair --plat manylinux2014_aarch64 "$wheel" --wheel-dir /tf/pkg 2>&1 | tee check.txt
    
      # We don't need the original wheel if it was renamed
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  8. ci/official/README.md

    #   your builds. This usually saves a lot of time, especially when
    #   re-running tests. However, note that:
    #
    #    - New environments like new CUDA versions, changes to manylinux,
    #      compilers, etc. can cause undefined behavior such as build failures
    #      or tests passing incorrectly.
    #    - Automatic LLVM updates are known to extend build time even with
    #      the cache; this is unavoidable.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/BUILD

            "//tensorflow/core/tfrt/common:pjrt_util",
            "@com_google_absl//absl/status",
            "@com_google_absl//absl/status:statusor",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/time",
            "@com_google_absl//absl/types:span",
            "@local_tsl//tsl/distributed_runtime/coordination:coordination_service_agent",
            "@local_xla//xla/pjrt:pjrt_c_api_client",
            "@local_xla//xla/pjrt:pjrt_client",
    Plain Text
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  10. CODE_OF_CONDUCT.md

    If you are experiencing or witnessing conflict, we ask you to use the following escalation strategy to address the conflict:
    
    1.  Address the perceived conflict directly with those involved, preferably in a
        real-time medium.
    2.  If this fails, get a third party (e.g. a mutual friend, and/or someone with
        background on the issue, but not involved in the conflict) to intercede.
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
Back to top