Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DecrementCount (0.12 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)
Back to top