Skip to content

Commit

Permalink
Remove unnecessary declaration
Browse files Browse the repository at this point in the history
Remove unnecessary declaration for i variable as it is initialized in the for loop again.
  • Loading branch information
ajindal1 authored Feb 26, 2025
1 parent 247ce78 commit dd737ce
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion shared/api/runner.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,6 @@ class ExecutionPlan {
status = PrepareInput(*operations_[n + 1], ts_output, ts_input, ts_lookup_table);
}

size_t i = 0;
for (size_t i = 0; i < ts_output.size(); i++) {
auto& out_tensor = ts_output[i];
std::string tensor_name = op->GetOpName() + ":" + std::to_string(i);
Expand Down

0 comments on commit dd737ce

Please sign in to comment.