Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
weixingzhang committed Mar 24, 2020
1 parent e2047c1 commit 51652bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/cuda/tensor/upsample.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Status Upsample<T>::BaseCompute(OpKernelContext* context,
TensorPitches output_pitches(output_dims);
TArray<fast_divmod> output_div_pitches(rank);

for (size_t i = 0; i < rank; ++i) {
for (auto i = 0; i < rank; ++i) {
output_div_pitches[i] = fast_divmod(gsl::narrow_cast<int>(output_pitches[i]));
}
size_t output_count = Y->Shape().Size();
Expand Down

0 comments on commit 51652bf

Please sign in to comment.