diff --git a/paddle/fluid/framework/ir/mkldnn/cpu_quantize_pass_tester.cc b/paddle/fluid/framework/ir/mkldnn/cpu_quantize_pass_tester.cc index 437c2bebc4312..912c16288c2b9 100644 --- a/paddle/fluid/framework/ir/mkldnn/cpu_quantize_pass_tester.cc +++ b/paddle/fluid/framework/ir/mkldnn/cpu_quantize_pass_tester.cc @@ -596,9 +596,9 @@ void TestElementwiseUnsignedAndSignedInput( } const std::vector> elementwises = { - {"elementwise_add", "ElementwiseAdd"}, // 0 - {"elementwise_mul", "ElementwiseMul"}, // 1 - {"elementwise_sub", "ElementwiseSub"}}; // 2 + {"elementwise_add", "ElementwiseAdd"}, + {"elementwise_mul", "ElementwiseMul"}, + {"elementwise_sub", "ElementwiseSub"}}; class TestElementwises : public testing::TestWithParam> {};