Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dgreedy_by_size_assignment.cc167 std::vector<SizeDistPriorityInfo> priority_info(num_records); in GreedyBySizeDistPriorityAssignment() local
169 priority_info[rec_id].tensor_usage_id = rec_id; in GreedyBySizeDistPriorityAssignment()
170 priority_info[rec_id].tensor_size = usage_records[rec_id].tensor_size; in GreedyBySizeDistPriorityAssignment()
173 priority_info[rec_id].best_dist = kNotAssigned; in GreedyBySizeDistPriorityAssignment()
174 priority_info[rec_id].best_object = kNotAssigned; in GreedyBySizeDistPriorityAssignment()
179 positional_max[pos] >= priority_info[rec_id].tensor_size) { in GreedyBySizeDistPriorityAssignment()
185 priority_info[rec_id].position = pos - 1; in GreedyBySizeDistPriorityAssignment()
193 if (assignment->object_ids[priority_info[info_id].tensor_usage_id] != in GreedyBySizeDistPriorityAssignment()
199 priority_info[info_id] > priority_info[best_info_id]) { in GreedyBySizeDistPriorityAssignment()
209 size_t best_rec_id = priority_info[best_info_id].tensor_usage_id; in GreedyBySizeDistPriorityAssignment()
[all …]