Home
last modified time | relevance | path

Searched refs:best_object (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dgreedy_by_breadth_assignment.cc80 size_t best_object = num_objects; in GreedyByBreadthAssignment() local
84 if (best_object != num_objects) { in GreedyByBreadthAssignment()
85 const size_t best_size = assignment->object_sizes[best_object]; in GreedyByBreadthAssignment()
116 best_object = obj_id; in GreedyByBreadthAssignment()
119 if (best_object == num_objects) { in GreedyByBreadthAssignment()
125 obj_schedules[best_object].insert(rec); in GreedyByBreadthAssignment()
128 assignment->object_sizes[best_object] = in GreedyByBreadthAssignment()
129 std::max(assignment->object_sizes[best_object], rec.tensor_size); in GreedyByBreadthAssignment()
131 assignment->object_ids[tensor_info.idx] = best_object; in GreedyByBreadthAssignment()
Dgreedy_by_size_assignment.cc53 best_object = obj_id; in RecalcBestDist()
62 size_t best_object; member
174 priority_info[rec_id].best_object = kNotAssigned; in GreedyBySizeDistPriorityAssignment()
210 size_t best_obj_id = priority_info[best_info_id].best_object; in GreedyBySizeDistPriorityAssignment()
262 if (priority_info[info_id].best_object == best_obj_id) { in GreedyBySizeDistPriorityAssignment()
275 priority_info[info_id].best_object = best_obj_id; in GreedyBySizeDistPriorityAssignment()