Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for Read (0.17 sec)

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

      std::vector<char> out;
    
      // First read.
      EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123));
      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 1);
    
      // Second read. Hit cache.
      EXPECT_TRUE(cache.ValidateAndUpdateFileSignature(filename, 123));
      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 1);
    
      // Third read. File signatures are different.
    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. .github/workflows/issue-on-pr-rollback.yml

          
    permissions: {}
    
    jobs:
      create-issue-on-pr-rollback:
        runs-on: ubuntu-latest
        permissions:
          contents: read
          issues: write
          pull-requests: read
        if: |
          github.repository == 'tensorflow/tensorflow' &&
          startsWith(github.event.head_commit.message, 'Rollback of PR #')
        steps:
          - name: Checkout repo
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Sep 12 16:40:29 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/modular_filesystem.cc

    }
    
    Status ModularRandomAccessFile::Read(uint64 offset, size_t n,
                                         StringPiece* result, char* scratch) const {
      if (ops_->read == nullptr)
        return errors::Unimplemented(
            tensorflow::strings::StrCat("Read() not implemented for ", filename_));
    
      UniquePtrTo_TF_Status plugin_status(TF_NewStatus(), TF_DeleteStatus);
      int64_t read =
    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)
  4. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      std::unique_ptr<RandomAccessFile> read_file;
      status = env_->NewRandomAccessFile(filepath, &read_file);
      if (!status.ok())
        GTEST_SKIP() << "NewRandomAccessFile() not supported: " << status;
    
      char scratch[64 /* must be bigger than test_data */] = {0};
      StringPiece result;
      // read at least 1 byte more than test_data
      status = read_file->Read(0, test_data.size() + 1, &result, scratch);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  5. .github/workflows/arm-ci.yml

    # ==============================================================================
    
    name: ARM CI
    
    on:
      push:
        branches:
          - master
          - r2.**
    permissions:
      contents: read
    
    jobs:
      build:
        # Don't do this in forks, and if labeled, only for 'kokoro:force-run'
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Wed Feb 07 17:41:21 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

        ASSERT_TRUE(std::find(device_names.begin(), device_names.end(),
                              remote_device) != device_names.end());
      }
    
      // Create a variable using `ctx_0`.
      // Read the variable using `ctx_1`. This read should succeed.
      // 1. Create a variable on `remote_device`, using `ctx_0`.
      TFE_TensorHandle* handle_0 =
          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var2");
    
    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)
  7. tensorflow/c/eager/c_api_experimental_test.cc

                              remote_device) != device_names.end());
      }
    
      // Create a variable using `ctx_0`.
      // Replace worker1 using a new worker, and update the contexts.
      // Read the variable using `ctx_1`. This read should succeed.
      //
      // 1. Create a variable on `remote_device`, using `ctx_0`.
      TFE_TensorHandle* handle_0 =
          CreateVariable(ctx_0, 1.2, remote_device, /*variable_name=*/"var");
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  8. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # Convenient cache configurations
    # Use a cache directory mounted to /tf/cache. Very useful!
    build:sigbuild_local_cache --disk_cache=/tf/cache
    # Use the public-access TF DevInfra cache (read only)
    build:sigbuild_remote_cache --remote_cache="https://storage.googleapis.com/tensorflow-devinfra-bazel-cache/manylinux2014" --remote_upload_local_results=false
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  9. ci/official/utilities/generate_index_html.sh

    # Usage: generate_index_html.sh /path/to/output/index.html
    
    cat > "$1" <<EOF
    <html>
    <head>
    <title>$(basename "$KOKORO_JOB_NAME")</title>
    </head>
    <body>
    <h1>TensorFlow Job Logs and Links</h1>
    <h2>Job Details</h2>
    <ul>
    <li>Job name: $KOKORO_JOB_NAME</li>
    <li>Job pool: $KOKORO_JOB_POOL</li>
    <li>Job ID: $KOKORO_BUILD_ID</li>
    <li>Current HEAD Piper Changelist, if any: cl/${KOKORO_PIPER_CHANGELIST:-not available}</li>
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Sep 29 20:26:13 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  10. ci/official/utilities/code_check_changed_files.bats

        # bazel query $(paste -sd "+" $BATS_FILE_TMPDIR/changed_files) --keep_going
        # Only shows Added, Changed, Modified, Renamed, and Type-changed files
        if [[ "$(git rev-parse --abbrev-ref HEAD)" == "pull_branch" ]]; then
            # TF's CI runs 'git fetch origin "pull/PR#/merge:pull_branch"'
            # To get the as-merged branch during the CI tests
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top