diff --git a/lite/tests/kernels/pow_compute_test.cc b/lite/tests/kernels/pow_compute_test.cc index f7b0ba7b562965dd417f0a9ad879cae2dfd8736a..cb08a25cf20e32187c6d30deff685a5da7a7dc36 100644 --- a/lite/tests/kernels/pow_compute_test.cc +++ b/lite/tests/kernels/pow_compute_test.cc @@ -65,15 +65,11 @@ class PowComputeTester : public arena::TestCase { }; void test_pow(Place place) { - for (float scale : {0.923, 2., 1.2}) { - for (float shift : {1., 0., 1.2331}) { - for (float factor : {1., 1.2, 1.6}) { - std::unique_ptr tester( - new PowComputeTester(place, "def", factor)); - arena::Arena arena(std::move(tester), place, 2e-4); - arena.TestPrecision(); - } - } + for (float factor : {1., 1.2, 1.6}) { + std::unique_ptr tester( + new PowComputeTester(place, "def", factor)); + arena::Arena arena(std::move(tester), place, 2e-4); + arena.TestPrecision(); } }