Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for first (0.15 sec)

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

      // incomplete reads may still go undetected.
      if (block->data.size() < block_size_) {
        Key fmax = std::make_pair(key.first, std::numeric_limits<size_t>::max());
        auto fcmp = block_map_.upper_bound(fmax);
        if (fcmp != block_map_.begin() && key < (--fcmp)->first) {
          return TF_SetStatus(status, TF_INTERNAL,
                              "Block cache contents are inconsistent.");
        }
      }
    
      Trim();
    
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

    TEST(RamFileBlockCacheTest, OutOfRange) {
      // Tests reads of a 24-byte file with block size 16.
      const size_t block_size = 16;
      const size_t file_size = 24;
      bool first_block = false;
      bool second_block = false;
      auto fetcher = [block_size, file_size, &first_block, &second_block](
                         const string& filename, size_t offset, size_t n,
                         char* buffer, TF_Status* status) -> int64_t {
    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)
  3. ci/official/bisect.sh

    # build configuration. You must set the following variables to control this
    # script:
    #
    #   TF_BISECT_GOOD: Last known good commit (e.g. commit from the last passing job)
    #   TF_BISECT_BAD: First bad commit (e.g. commit from the first failing job)
    #   TF_BISECT_SCRIPT: The build script path relative to the TF root dir, e.g.
    #     ci/official/wheel.sh
    #   TFCI: The env config path, relative to the TF root dir, e.g.
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/checkpoint_reader.cc

        if (!v2_reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, v2_reader_->status());
          return;
        }
        auto result = BuildV2VarMaps();
        var_to_shape_map_.swap(result.first);
        var_to_data_type_map_.swap(result.second);
      } else {
        reader_.reset(new TensorSliceReader(filename));
        if (!reader_->status().ok()) {
          tsl::Set_TF_Status_from_Status(status, reader_->status());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      const char* first_device = "/job:worker/replica:0/task:1/device:CPU:0";
      const char* second_device = "/job:worker/replica:0/task:2/device:CPU:0";
      const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
      std::array<const char*, 2> underlying_devices{first_device, second_device};
      RegisterParallelDevice(context.get(), device_name, underlying_devices,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

                        const char* mutation_type) {
      // If any session has already run this node_id, mark this session as
      // unrunnable.
      for (auto it : graph->sessions) {
        mutex_lock session_lock(it.first->mu);
        if (it.first->last_num_graph_nodes > op.node.id()) {
          it.second = strings::StrCat(
              "Operation '", op.node.DebugString(), "' was changed by ",
              mutation_type,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  7. ci/official/wheel_test/README.md

    The test doesn't identify package's order-dependent issues; for instance,
    importing "tf.foo" followed by "tf.bar" won't reveal that "tf.bar" depends on
    "tf.foo" being imported first.
    
    The `_api/v2/api_packages.txt` file is generated during the TensorFlow API v2
    init files creation process and is subsequently stored in the wheel file after
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  8. CODE_OF_CONDUCT.md

    If the behavior is threatening or harassing, or for other reasons requires immediate escalation, please see below.
    
    However, for the vast majority of issues, we aim to empower individuals to first resolve conflicts themselves, asking for help when needed, and only after that fails to escalate further. This approach gives people more control over the outcome of their dispute. 
    
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      // Define a new cache with max_age > 0 and verify correct behavior.
      tf_gcs_filesystem::ExpiringLRUCache<int> cache2(2, 4);
      num_compute_calls = 0;
      value = -1;
    
      // Read our first value
      cache2.LookupOrCompute("a", &value, compute_func, &status);
      TF_EXPECT_OK(status.status);
      EXPECT_EQ(value, 0);
      EXPECT_EQ(num_compute_calls, 1);
      // Re-read, exepct no additional function compute_func calls.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        if (device_index == 0) {
          first_op_output_count = per_device_output_tensors.rbegin()->size();
        } else {
          if (first_bad_status == nullptr &&
              per_device_output_tensors.rbegin()->size() != first_op_output_count) {
            first_bad_status.reset(TF_NewStatus());
            TF_SetStatus(first_bad_status.get(), TF_INTERNAL,
                         "Parallel ops produced different numbers of tensors.");
          }
        }
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
Back to top