Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 628634650
  • Loading branch information
tensorflower-gardener committed Apr 27, 2024
1 parent 8d941d4 commit 3fea7b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ Operation* BuildPartitionedOutputs(
builder.create<mlir::tf_device::ReturnOp>(result_op->getLoc(), results);

// Then erase all the identity and partitioned output ops.
for (auto [_, ops] : partitioned_outputs) {
for (const auto& [_, ops] : partitioned_outputs) {
for (mlir::TF::TPUPartitionedOutputV2Op op : ops) {
op->erase();
}
Expand Down

0 comments on commit 3fea7b6

Please sign in to comment.