diff --git a/tensorflow/lite/kernels/depthwise_conv_test.cc b/tensorflow/lite/kernels/depthwise_conv_test.cc index 18a35bcec24..2413a95b5d6 100644 --- a/tensorflow/lite/kernels/depthwise_conv_test.cc +++ b/tensorflow/lite/kernels/depthwise_conv_test.cc @@ -62,7 +62,7 @@ class BaseDepthwiseConvolutionOpModel : public SingleOpModel { filter.per_channel_quantization_scales.size()); std::vector bias_zero_points( filter.per_channel_quantization_scales.size()); - for (int i = 0; i < filter.per_channel_quantization_scales.size(); + for (size_t i = 0; i < filter.per_channel_quantization_scales.size(); ++i) { bias_scale[i] = input.scale * filter.per_channel_quantization_scales[i];