Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DecrementCount (0.29 sec)

  1. tensorflow/cc/training/queue_runner.cc

          break;
        }
        status = RealRun(sess, enqueue_op, true);
        if (first_iteration) {
          if (!status.ok()) {
            mutex_lock l(mu_);
            enqueue_status_ = status;
          }
          counter_->DecrementCount();
          first_iteration = false;
        }
      }
      bool last_run = false;
      {
        mutex_lock l(mu_);
        runs_--;
        last_run = (runs_ == 0);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. tensorflow/cc/training/coordinator_test.cc

      }
      void SetStatusThread(const Status& status, BlockingCounter* counter,
                           Notification* start) {
        start->WaitForNotification();
        SetStatus(status);
        counter->DecrementCount();
      }
      std::unique_ptr<thread::ThreadPool> thread_pool_;
      Status status_;
      Coordinator* coord_;
      int* join_counter_;
      bool stopped_;
    };
    
    TEST(CoordinatorTest, TestRealStop) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 23 09:10:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      BlockingCounter counter(callers);
      auto fetcher = [&counter](const string& filename, size_t offset, size_t n,
                                char* buffer, TF_Status* status) -> int64_t {
        counter.DecrementCount();
        if (!counter.WaitFor(std::chrono::seconds(10))) {
          // This avoids having the test time out, which is harder to debug.
          TF_SetStatus(status, TF_FAILED_PRECONDITION,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 15 03:16:57 UTC 2021
    - 23.2K bytes
    - Viewed (0)
Back to top