diff --git a/tensorflow/lite/delegates/xnnpack/reduce_tester.cc b/tensorflow/lite/delegates/xnnpack/reduce_tester.cc index 3bbf1528c76..edd09ba9d07 100644 --- a/tensorflow/lite/delegates/xnnpack/reduce_tester.cc +++ b/tensorflow/lite/delegates/xnnpack/reduce_tester.cc @@ -37,8 +37,8 @@ void ReduceTester::Test(tflite::BuiltinOperator reduce_op, TfLiteDelegate* delegate) const { std::random_device random_device; auto rng = std::mt19937(random_device()); - auto input_rng = std::bind( - std::uniform_real_distribution(-15.0f, 15.0f), std::ref(rng)); + auto input_rng = + std::bind(std::uniform_real_distribution(), std::ref(rng)); std::vector buffer = CreateTfLiteModel(reduce_op); const Model* model = GetModel(buffer.data());