Home
last modified time | relevance | path

Searched refs:best_it (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dgreedy_in_order_assignment.h78 auto best_it = pool.end();
83 if (best_it == pool.end() || size_diff < best_size_diff) {
93 best_it = pool_it;
105 best_it = pool_it;
110 if (best_it == pool.end() ||
113 best_it = pool_it;
117 if (best_it == pool.end()) {
123 if (best_it == pool.end()) {
132 size_t shared_id = best_it->object_id;
133 pool.erase(best_it);
[all …]
/external/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_abs_send_time.cc151 std::list<Cluster>::const_iterator best_it = clusters.end(); in FindBestProbe() local
163 best_it = it; in FindBestProbe()
176 return best_it; in FindBestProbe()
191 std::list<Cluster>::const_iterator best_it = FindBestProbe(clusters); in ProcessClusters() local
192 if (best_it != clusters.end()) { in ProcessClusters()
194 std::min(best_it->GetSendBitrateBps(), best_it->GetRecvBitrateBps()); in ProcessClusters()
199 << best_it->GetSendBitrateBps() << " bps, received at " in ProcessClusters()
200 << best_it->GetRecvBitrateBps() in ProcessClusters()
201 << " bps. Mean send delta: " << best_it->send_mean_ms in ProcessClusters()
202 << " ms, mean recv delta: " << best_it->recv_mean_ms in ProcessClusters()
[all …]
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dserial_device_batch_scheduler.h387 auto best_it = batches_.begin(); in ProcessBatches() local
389 (*best_it)->creation_time_micros() - in ProcessBatches()
390 options_.full_batch_scheduling_boost_micros * (*best_it)->size() / in ProcessBatches()
391 static_cast<double>((*best_it)->queue()->max_task_size()); in ProcessBatches()
399 best_it = it; in ProcessBatches()
402 const internal::SDBSBatch<TaskType>* batch = *best_it; in ProcessBatches()
403 batches_.erase(best_it); in ProcessBatches()
Dadaptive_shared_batch_scheduler.h474 auto best_it = batches_.end(); in MaybeScheduleNextBatch() local
483 if (best_it == batches_.end() || score < best_score) { in MaybeScheduleNextBatch()
485 best_it = it; in MaybeScheduleNextBatch()
489 if (best_it == batches_.end()) return; in MaybeScheduleNextBatch()
490 const internal::ASBSBatch<TaskType>* batch = *best_it; in MaybeScheduleNextBatch()
491 batches_.erase(best_it); in MaybeScheduleNextBatch()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_memory_scheduler.cc313 auto best_it = ready_queue.end(); in CreateSchedule() local
314 --best_it; in CreateSchedule()
315 HloInstruction* best = best_it->second.instruction; in CreateSchedule()
317 << " Bytes freed: " << best_it->first.first; in CreateSchedule()
318 ready_queue.erase(best_it); in CreateSchedule()