[go: nahoru, domu]

Skip to content

Commit

Permalink
[tensorflow/compiler/xla/service/space_to_batch_converter.cc] Use `co…
Browse files Browse the repository at this point in the history
…nst auto&` instead of `const auto`
  • Loading branch information
SamuelMarks committed Oct 20, 2021
1 parent cfc3ca4 commit 43c9569
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1329,7 +1329,7 @@ void ConvolutionVisitor::PropagateOnBroadcast(HloInstruction* consumer,
}

std::vector<int64_t> broadcast_dims;
const auto dimensions = consumer->dimensions();
const auto& dimensions = consumer->dimensions();
broadcast_dims.reserve(dimensions.size());
for (auto j : dimensions) {
broadcast_dims.push_back(DimLookUp(permute_dims, j));
Expand Down

0 comments on commit 43c9569

Please sign in to comment.