in resolution of [Wsign-compare] warning id 1 #c3
Co-authored-by: Mihai Maruseac <mihai.maruseac@gmail.com>
This commit is contained in:
parent
17a2158596
commit
85dcf96a8a
|
@ -197,7 +197,7 @@ TfLiteStatus ArenaPlanner::ExecuteAllocations(int first_node, int last_node) {
|
|||
dealloc_node_.resize(graph_info_->num_tensors(), kNodeNotAssigned);
|
||||
allocs_.resize(graph_info_->num_tensors());
|
||||
// Set allocation and deallocation for temporary tensors.
|
||||
for (size_t i = first_node; i <= (size_t)last_node && i < graph_info_->num_nodes();
|
||||
for (size_t i = first_node; i <= static_cast<size_t>(last_node) && i < graph_info_->num_nodes();
|
||||
++i) {
|
||||
const TfLiteNode& node = graph_info_->node(i);
|
||||
TfLiteIntArray* node_temporaries = node.temporaries;
|
||||
|
|
Loading…
Reference in New Issue