Searched refs:ElementAvailable (Results 1 – 2 of 2) sorted by relevance
338 bool ElementAvailable() TF_EXCLUSIVE_LOCKS_REQUIRED(mu_);
968 mu_.Await(tensorflow::Condition(this, &AsyncWriter::ElementAvailable)); in Consume()973 bool AsyncWriter::ElementAvailable() { return !deque_.empty(); } in ElementAvailable() function in tensorflow::data::snapshot_util::AsyncWriter