Searched refs:pending_ (Results 1 – 7 of 7) sorted by relevance
37 while (!pending_.empty()) { in ~SimpleThreadPoolTempl()62 pending_.push_back(std::move(t)); in Schedule()94 if (pending_.empty()) { in WorkerLoop()105 t = std::move(pending_.front()); in WorkerLoop()106 pending_.pop_front(); in WorkerLoop()107 if (pending_.empty()) { in WorkerLoop()140 std::deque<Task> pending_; // Queue of pending work variable
161 : rendez_(r), done_cb_(done), pending_(num) {} in ExecutorBarrier()176 int pending_ GUARDED_BY(mu_) = 0;198 if (--pending_ == 0) { in WhenDone()
181 std::vector<int> pending_; member in tensorflow::SymbolicGradientBuilder232 if (--pending_[src.node->id()] == 0) { in BackpropAlongEdge()242 if (--pending_[src.node->id()] == 0) { in BackpropZerosAlongEdge()249 pending_.resize(graph_->num_node_ids(), 0); in InitBackprop()277 pending_[n->id()] = num_expected_backprops; in InitBackprop()
120 std::vector<int> pending_; member in tensorflow::__anon2882cf250111::SymbolicGradientBuilder160 if (--pending_[src.node()->id()] == 0) { in BackpropAlongEdge()283 pending_.resize(scope_.graph()->num_node_ids(), 0); in Initialize()328 pending_[n->id()] = num_expected_backprops; in Initialize()540 if (pending_[nout.node()->id()] > 0) { in AddGradients()549 int num_requested_inputs = p.first->num_outputs() - pending_[p.first->id()]; in AddGradients()
23 pending_(zone), in MemoryOptimizer()37 DCHECK(pending_.empty()); in Optimize()499 auto it = pending_.find(id); in EnqueueMerge()500 if (it == pending_.end()) { in EnqueueMerge()502 it = pending_.insert(std::make_pair(id, AllocationStates(zone()))).first; in EnqueueMerge()513 pending_.erase(it); in EnqueueMerge()
147 ZoneMap<NodeId, AllocationStates> pending_; variable
496 explicit RunManyGraphs(int num) : calls_(num), pending_(num) {} in RunManyGraphs()521 pending_.DecrementCount(); in WhenDone()529 void Wait() { pending_.Wait(); } in Wait()539 BlockingCounter pending_; member in tensorflow::RunManyGraphs