Fix space_to_batch_converter on windows.
PiperOrigin-RevId: 333398025 Change-Id: I4d713db2c910d462f1c70a1cd4979a9a3cfe0905
This commit is contained in:
parent
7e49c60798
commit
055855171b
@ -371,8 +371,8 @@ Status ConvolutionVisitor::HandleConvolution(HloInstruction* convolution) {
|
||||
new_dim_numbers.set_output_feature_dimension(dim_count);
|
||||
|
||||
int p = 0;
|
||||
for (auto [k, v] : dim_map) {
|
||||
transpose_dims[p] = v;
|
||||
for (const auto& entry : dim_map) {
|
||||
transpose_dims[p] = entry.second;
|
||||
p++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user