Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for finished (0.3 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      // Tells the worker thread that there is new work.
      tensorflow::condition_variable start_execute_;
      // The worker thread notifies that work has finished.
      tensorflow::condition_variable finished_execute_;
      // Notifies a StartExecute that the previous Join has finished.
      tensorflow::condition_variable finished_join_;
    
      // Temporary state between `StartExecute` and `Join`.
      //
    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)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      size_t start = block_size_ * (offset / block_size_);
      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);
    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/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

              std::vector<char> x(block_size, 'x');
              EXPECT_EQ(out, x);
            }));
      }
      // The `threads` destructor blocks until the threads can be joined, once their
      // respective reads finish (which happens once they are all concurrently being
      // executed, or 10 seconds have passed).
    }
    
    TEST(RamFileBlockCacheTest, CoalesceConcurrentReads) {
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

          return;
        }
        SyncImpl(gcs_file->bucket, gcs_file->object, &gcs_file->offset,
                 &gcs_file->outfile, gcs_file->gcs_client, status);
        TF_VLog(3, "Flush finished: gs://%s/%s", gcs_file->bucket.c_str(),
                gcs_file->object.c_str());
        if (TF_GetCode(status) != TF_OK) return;
        gcs_file->sync_need = false;
      } else {
        TF_SetStatus(status, TF_OK, "");
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top