From e3758fdd19e8babbc2e60c76df7b4de181d068a5 Mon Sep 17 00:00:00 2001 From: nihui Date: Mon, 1 Apr 2024 14:18:26 +0800 Subject: [PATCH] fix test reduction warning (#5397) --- tests/test_reduction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_reduction.cpp b/tests/test_reduction.cpp index 3895d3533..f4ea8e236 100644 --- a/tests/test_reduction.cpp +++ b/tests/test_reduction.cpp @@ -109,6 +109,7 @@ static int test_reduction(const ncnn::Mat& _a, float coeff, int keepdims, const pd.set(2, coeff); pd.set(3, axes); pd.set(4, keepdims); + pd.set(5, 1); // fixbug0 std::vector weights(0);